Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: GMG on March 30, 2007, 01:22:09 am
-
Okay, so the workspaces load perfectly. However, I have a project and a workspace and I can open either, but they both appear to be identical once loaded. So, my question is this: Should I load the Code::Blocks-generated workspace or the Code::Blocks project? Does it matter? Advantages/Disadvantages?
-
If your workspace contains a single project only it basically the same. But technically it's a completely different thing: A workspace can consist of 1..n projects. A project can consist of 1..n targets. Within a project you define compilation, the sources itself and stuff. Within a workspace you define e.g. dependencies between projects.
So there are numerous ways how to organise your projects/targets. You have to use a workspace at least if you have more than one project... although you could also open them all manually after each other. But in that case they would be part of the "default workspace" which is always present.
I hope this clarifies things - otherwise have a look in the WiKi, for example here:
http://wiki.codeblocks.org/index.php?title=The_build_process_of_Code::Blocks (http://wiki.codeblocks.org/index.php?title=The_build_process_of_Code::Blocks)
With regards, Morten.
-
'preciate it! Up until now everything I'd written was in Visual Studio 6/.NET and I was pretty much taught to open the workspace.
Anyway, thanks, 'MacFly. Swell name, btw...