Author Topic: Another Question to Project dependencies  (Read 2769 times)

Offline HeReSY

  • Single posting newcomer
  • *
  • Posts: 8
Another Question to Project dependencies
« on: March 28, 2012, 09:13:48 pm »
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.
« Last Edit: March 28, 2012, 09:15:41 pm by HeReSY »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Another Question to Project dependencies
« Reply #1 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.
(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!]

Offline HeReSY

  • Single posting newcomer
  • *
  • Posts: 8
[SOLVED] Re: Another Question to Project dependencies
« Reply #2 on: March 28, 2012, 10:18:12 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.