Page 1 of 1

compiler options persistance

Posted: Thu Mar 02, 2023 7:19 pm
by electrosnail

How to change project's compiler options in Codelite 17.0?

There are too many of them, and they are obviosly not in use, because actual compiler options are only -gdwarf-2 -O0 -Wall

And also one couldn't change them - one can delete them, one by one, even add some new, then press Apply, but after closing and reopening "Build Settings" window one will see that these options actually didn't change a bit.

Screenshot_20230302_170853.png

Re: compiler options persistance

Posted: Thu Mar 02, 2023 10:42 pm
by Jarod42

How to change project's compiler options in Codelite 17.0?

rigth-click on project, and Settings...

then "compiler"

and then adjust "C++ compiler options" or "C compiler options". by clicking on the field "..." appears on the right, if you click on it, you have page similar to the one you opened ("Build option") bu with check-box to activate appropriate options.

The "build option" menu is here to configure what you see in the windows opened with ... (Notice that it depends of chosen compiler).


Re: compiler options persistance

Posted: Fri Mar 03, 2023 5:24 pm
by electrosnail

Thank you!
May be it should be explained somehow in the documentation, or better in UI - because it is a bit confusing.