User forums > Using Code::Blocks
Project A and B dependency headache
(1/1)
grunerite:
Hello fellow Code::Blockers,
XP SP2
svn build rev 3222, Nov. 15, wx2.6.3(Windows, unicode)
I have a workspace with ProjectA and ProjectB, both building static libs. ProjectB is set to be dependent on ProjectA through the project dependencies setting.
I make ProjectB the active project and hit build. It builds ProjectA, then ProjectB. Perfect.
Then, without doing anything except breathing, I hit Build again. It builds ProjectA, then says ProjectB is up-to-date.
This behavior does not sound correct to me. Does this happen to anyone else?
It seems to me it should not build ProjectA the 2nd time I hit build, as there is no need to build it. If this does not happen to anyone else, then I'll investigate what I'm doing wrong further, but I just can't find anything wrong with what I'm doing right now.
Thanks,
grunerite
Pecan:
Make sure that your system clock is set correctly.
Then make sure that there is no source file that has a date/time set ahead of the clock. Either touch all files, or add a space at the end of each source file.
Build clean, then re-build to see what happens.
MortenMacFly:
Another possibility (happened to me once, too :oops:) is that you might create object files of the same name of both projects into one object directory, overwriting a previous one.
Navigation
[0] Message Index
Go to full version