Debugging using the Makefile feature in 2020.2 EAP

已回答

Hi,

I'm trying to use the new Makefile feature with the example here.

After cloning, I open the folder "makefile-example" in Clion. Then from "Add Configuration", I create a "Makefile Application" and set target to "all":

After that, I try to run, but I get the following error:

 

But the list of Executables is empty!

Please let me know what I need to do.

Thanks

0

Hello!

Please open the builtin terminal (View | Tool Windows | Terminal), execute make -j4, the app executable will be built. Then in the Run/Debug configuration specify app as Target, click on the Executable field, click Select other and select the app executable. 

0

请先登录再写评论。