User forums > Using Code::Blocks

set C++11 as default for every project

(1/1)

gtafan:
At the moment I have to set C++11 suport manually for every of my CB projects. Is there a way CB will use C++11 for every project I start?

BlueHazzard:
You can add it to the global compiler settings (Settings->Compiler->Compiler settings, or create a project template: create a new project and set all things you like, then safe it with File->Save project as template
Now you can use it with File->New->Project->User templates

gtafan:

--- Quote from: BlueHazzard on November 06, 2018, 05:30:25 pm ---You can add it to the global compiler settings (Settings->Compiler->Compiler settings, or create a project template: create a new project and set all things you like, then safe it with File->Save project as template
Now you can use it with File->New->Project->User templates

--- End quote ---
Thanks, that really helped, now I don“t need to edit the setings for every new project after I got the error mesage about C++11.

Navigation

[0] Message Index

Go to full version