Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: grunerite on December 31, 2005, 03:16:44 am
-
WinXP
Revison 1615-unicode
Under Project->Properties, you can specify a project's dependencies on other projects in the workspace. Is this recursive (I think this is word I want)?
If I have, for example, 3 projects in my workspace (projA, projB, projC), and projB depends on projA, and projC depends on projB (and hence projA), is it enough to only specify that projC depends on projB in the dialog box (withouth specifying projA)?
I have about 15 projects with mixed dependencies, and I'm just wondering how much of the work Code::Blocks will do for me.
Thanks
-
no - you have to specifiy all deps for each project manually
or
if you have dependency of more projects, you can play with the proper sequence
(how the projects are arranged) in your workspace (basics topmost arranged).
then you do Build-Build Workspace and all projects are built from top to down in sequence if they need to be rebuilt.
-
if you have dependency of more projects, you can play with the proper sequence
(how the projects are arranged) in your workspace (basics topmost arranged).
then you do Build-Build Workspace and all projects are built from top to down in sequence if they need to be rebuilt.
Thanks. Thats what I've been doing till now and it works fine.. But, I'll fill in the depency boxes as it is better to use that feature if it works; you never know what projects will move around when you give the workspace to someone else: :( but true.
-
If I have, for example, 3 projects in my workspace (projA, projB, projC), and projB depends on projA, and projC depends on projB (and hence projA), is it enough to only specify that projC depends on projB in the dialog box (withouth specifying projA)?
Yes, dependencies are checked recursively. And if you accidentally create circular dependencies you should be told about it with a nice message.
-
...Yes, dependencies are checked recursively. And if you accidentally create circular dependencies you should be told about it with a nice message.
thx for the info :o - didn't know - and sorry for my wrong answer in prev. post
-
Yes, dependencies are checked recursively. And if you accidentally create circular dependencies you should be told about it with a nice message.
Sweet! Thanks.