compiler options persistance

General questions regarding the usage of CodeLite
electrosnail
CodeLite Curious
Posts: 2
Joined: Thu Mar 02, 2023 6:39 pm
Genuine User: Yes
IDE Question: C++
Contact:

compiler options persistance

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
Jarod42
CodeLite Expert
Posts: 240
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: compiler options persistance

Post 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).

electrosnail
CodeLite Curious
Posts: 2
Joined: Thu Mar 02, 2023 6:39 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: compiler options persistance

Post by electrosnail »

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

Post Reply