User forums > Using Code::Blocks

Possible to save a set of Build Options to be easily applied to new projects?

(1/1)

holland11:
I'm currently learning the SFML library and find it annoying to have to set my build options again every time that I start a new project. As a programmer, I am always looking for an easier way to do something and it seems like it wouldn't be that difficult to be able to save build options to be used as presets. Or even to become the new default build options.

Is this a thing?

ollydbg:
There are several solutions:
1, Wizard scripts - CodeBlocks, there are already many wizards or templates, and you can create new one or modify the existing ones

2, the project file ".cbp" file contains all the settings(such as build options), so when you want to create a new project, just copy the ".cbp" file, and change the source files.

holland11:
Makes sense. Thanks. Also tried File > Save Project As Template, then File > New > From Template. This seems to have done a simple copy of the .cbp and all source files into another directory of my choosing. Exactly what I was looking for.

Navigation

[0] Message Index

Go to full version