views:

436

answers:

1

We have several C projects in Eclipse, using CDT (CodeSourcery++).

There are two projects that build libraries for use in the "main" project that builds the final application.

Now we find that rebuilding one of the libraries does not cause the main project to be also rebuild. Obviously, there is no dependency in the makefile to cause this.

The libraries themselves are linked in properly, but the final build result does not depend on them.

How can we create this dependency?

+1  A: 

In Main project properties, there is Project References. check on the dependent project. By this way firstly dependant project builds, after than main project building process starts.

jack london
Right, but does not help with my problem. Build process starts, but since there is no dependency on the library in the Makefile, it finds nothing has to be rebuild. So I do not have an updated Main project.
Ber