Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: dominover on February 12, 2013, 08:22:09 am
-
When using some open source software it has multiple library files and include files due to multiple dependencies. Do I have to add these in the 'include' and 'Linker' Build Options every time I build a new project or is there a method I can use to have all of these includes and library files incorporated in a simpler step? I know how to add a global variable but it is limited what I can do with this? Is there another method?
Maybe there is but I'm not sure what to call it.
Thanks
-
Have you tried "File" -> "Save Project as Template"
Tim S.
-
Nice one.. Thats exactly what I needed.
I don't suppose you know how to incorporate that into an existing project would you. Do I have to start a new project and incorporate it that way only?
-
Alright... does anyone know how to add a saved template includes and linker directories to
an existing project?
I can start one from scratch but I'm not able to to as described above?
???
-
Anyone..? Is it possible? ???
-
You can use scripting. Investigate the wizard template scripts about hints how to do it.
Also look here for some docs: http://wiki.codeblocks.org/index.php?title=Scripting_commands
-
Thanks for that. (Both)
I thought there may have been a built in method of doing this but it's not a problem. I'll just have to remember to start using an existing template until I work out how use scripting for this purpose.
;)