Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eclipse CDT:copying library paths from debug to release mode

I have been developing a C++ app and running in debug mode, I have now set active build to release mode and have realized that I have to re-add all of the include paths and libraries (there are a lot of them!) is there any way to automatically do this/a bulk copy paste?

Thanks

like image 479
Aly Avatar asked Sep 07 '25 09:09

Aly


2 Answers

You can also select "all configurations" in the menu where you set your paths. The typical workflow for setting up a project is to first set "all configurations", do your stuff, and then selectively put in the Debug/Release specific things (like the NDEBUG symbol, or optimizer flags). No copying is required. Note that most good IDEs have this feature (including Visual Studio).

like image 73
TemplateRex Avatar answered Sep 10 '25 04:09

TemplateRex


Just figured it out (kinda). You can highlight all libs and copy them, then can just click on the box in the release dialogue and hit paste.

like image 21
Aly Avatar answered Sep 10 '25 05:09

Aly