Hi,
I have a dependency problem that is driving me nuts. I have three Targets:
A. Debug Static Lib that depends on foo.cpp and bar.cpp, builds lib/Debug/libfoobar.a
B. Release Static Lib that depends on foo.cpp and bar.cpp, builds lib/Release/libfoobar.a
C. A Console executable that depends on/links with B. and main.cpp
I can build A., B., and C., individually, with no problems.
However, when I am targeting C., and I modify foo.cpp or bar.cpp, how do I set up my dependencies in C::B so that it knows to build B. (the static release lib) first, before attempting a link at C.?
In other words, although I am targeting C., I want it to make B. before making C., when foo.cpp or bar.cpp is modified.
I am running C::B 8.02 on Ubuntu 8.10 amd64. Any help would be greatly appreciated.
Regards,
Ken