Can I make C++11 the default?

CodeLite installation/troubleshooting forum
saul
CodeLite Curious
Posts: 6
Joined: Fri Dec 26, 2014 3:33 pm
Genuine User: Yes
IDE Question: C++
Contact:

Can I make C++11 the default?

Post by saul »

I am using codelite 7.0 on OS X Yosemite 10.10.1. I want to have the C++11 extensions always. I know how to set this for an individual project, but I would rather not have to bother. I have gone to Settings/Build Settings/Compiler Options, double-clicked on -std=c++11, clicked OK on the pop-up, clicked Apply on the build settings/compiler options menu, then clicked OK on the same menu, but it has no effect. If I don't enable the C++11 extensions in the project, they aren't used. Am I doing something wrong, or is it not possible to do what I want? If it's not possible, what is the purpose of the Build Settings/Compiler Options? Is it just something planned for the future?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can I make C++11 the default?

Post by eranif »

go to settings->build settings->compilers-> "your compiler name" ->tools->C++ compiler
and append to the compiler --std=c++11

Eran
Make sure you have read the HOW TO POST thread
Post Reply