News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

adding seperate libraries to your project

Started by *DEAD*, January 31, 2009, 03:16:18 AM

Previous topic - Next topic

*DEAD*

Hi, i have a rather large project that consist of a core an many plugins. I usually stick to makefiles because i actually understand whats going on, but i have a number of people using windows interested in developing and they cant get their heads around doing anything from the command line, so i want to make a codeblocks project for them. right now i have a project consisting of the core. is there a nice way to add the plugins to the project so that they are all built at once along with the core, or will i have to make a separate project for each one.

MortenMacFly

Quote from: *DEAD* on January 31, 2009, 03:16:18 AM
or will i have to make a separate project for each one.
There are several possibilities.
A workspace can consist of 1..n projects. A project can consist of 1..n targets.
So here are three options:
1.) Create a workspace that consists of a core project and 1..n plugin projects
2.) Create a project that consists of a core target and 1..n plugin targets
3.) Create a workspace that consists of a core project and a plugin project with 1..n plugin targets
In either way you can setup dependencies between projects and/or order of targets control the way (order) they are being compiled.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]