Page 1 of 1

Can I make C++11 the default?

Posted: Thu Jan 01, 2015 10:13 pm
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?

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

Posted: Thu Jan 01, 2015 10:35 pm
by eranif
go to settings->build settings->compilers-> "your compiler name" ->tools->C++ compiler
and append to the compiler --std=c++11

Eran