How can I make one Code::Blocks project dependent on another?
Posted
by George Edison
on Stack Overflow
See other posts from Stack Overflow
or by George Edison
Published on 2010-04-10T23:27:07Z
Indexed on
2010/04/10
23:33 UTC
Read the original article
Hit count: 322
codeblocks
|dependency
I have a workspace with two projects in it. One is a static library (we'll call it Project A
). The other is a console app that links with the static library (we'll call it Project B
).
I went to Project B
's properties and checked off Project A
as a dependency of Project B
.
So I make a change to a file in Project A
and rebuild Project B
. It correctly discovers the changes to the file in Project A
and rebuilds Project A
. However, when it gets to Project B
it says:
Target is up to date.
Nothing to be done.
How can I tell it to run the linker everytime Project A
is changed?
© Stack Overflow or respective owner