Reputation: 785
I am working on Eclipse Neon CDT where I have to enable "Generate Make Files Automatically" at C/C++ Build Settings for my project to compile. But, once I do that the build directory grays out and am unable to find a way to change the default build directory path. How do I solve this issue?
Attached is the screenshot showing the same. I need to change the build directory from workspace/Default to workspace/target.
Thanks
Upvotes: 1
Views: 2776
Reputation: 1
If you follow the answer provided by HighCommander4, and use a single period as the name of the configuration, it will default to current directory. This makes sense because from the command prompt under Linux, Windows, or Apple Desktop, issuing "cd .." will traverse to the parent directory. The use of "cd ." traverses to the current directory.
Upvotes: 0
Reputation: 52759
I'm not sure why you can't directly edit the "Build directory" when "Generate Makefiles automatically" is checked, but here is a way to indirectly get it to be what you want:
Upvotes: 2