User forums > Using Code::Blocks

Project dependent upon another project?

<< < (2/3) > >>

Sephiroth:
So in MSVS the master project would depend on project A and B in your example. It checks A and builds if needed, then it does the same for B. There's no way to do this in CodeBlocks? Making one project depend on another when it really does not WILL confuse me down the road. If I step away for a while and come back to it this strange chaining of dependencies will be a hold-up. Is there any way to make the master project check and build each sub-project one at a time?

cacb:
It is just a build order dependency. There is no automatic library linking or anything like that.

The workspace is not a project, it is a workspace containing projects and declaring possible project build dependencies. If you insist you could create a dummy project doing nothing but declaring dependency on projectA and ProjectB. But what I said does the same thing. 

Sephiroth:
Okay, I think I see what that does, I am just used to a way that seems more logical. You'd create a project in MSVS and add all sub-projects. You could go into the master project and specify the build order of the sub-projects, whether or not they depended on each other. I am assuming this is not possible in CodeBlocks and that is why you are telling me to do the dependencies the way that you did. I was expecting something like MSVS and Borland, or even a few others I used in the past.

stahta01:
Projects can depend on other projects with the info stored in a workspace.
Targets in a project can depend on external files with the info stored in the project file.

Tim S.

Trasatorn:
Projects can depend on other projects

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version