User forums > Using Code::Blocks
Another Question to Project dependencies
(1/1)
HeReSY:
Hi there,
i know this question is ask very often, but i think i'm to stupid, or it doesn't work.
I have a workspace with two projects.
Project A is an executable and Project B is my shared library.
I set in the project dependencies the depencies so that my executable needs the library.
Project B depends on Project A.
But when i change some lines of code in my library and/or the executable, only the activated project is compiled.
I thought Project A should be always compiled when it is changed.
A relink of the executable and the libraray can be done through the build targets -> dependencies.
Can anyone point me in the right direction how to setup my workspace that it fits my need?
HeReSY
Oh, i forgot. I use Code::Blocks Nightly Build 7899 on xubuntu 11.10 from jens repository.
oBFusCATed:
What are the names of the active targets for both projects?
If they are not the same the dependencies won't work.
HeReSY:
--- Quote from: oBFusCATed on March 28, 2012, 09:20:17 pm ---What are the names of the active targets for both projects?
If they are not the same the dependencies won't work.
--- End quote ---
Thanks, that was the only thing i missed.
Now i can move forward with my project.
Navigation
[0] Message Index
Go to full version