News:

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

Main Menu

Another Question to Project dependencies

Started by HeReSY, March 28, 2012, 09:13:48 PM

Previous topic - Next topic

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

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.

Thanks, that was the only thing i missed.
Now i can move forward with my project.