[CMake] CMake generates XCode project with incorrect dependency
bill.hoffman at kitware.com
Mon Feb 2 20:52:23 EST 2009
Christian Goetze (CG Linden) wrote:
> We have a typical case of a static library and some test programs
> linking against the library.
> For some reason, running incremental builds under XCode fails to relink
> the test programs if the library is rebuilt.
> Inspection of the generated XCode files seems to indicate that the
> dependency is of the wrong kind. It ends up as a direct dependency and
> not a linked library dependency.
> What are we doing wrong? This is CMake 2.6.2, XCode 3.1.2
This should work Xcode itself is sort of broken, and CMake creates some
helper makefiles that should keep stuff up-to-date. Can you provide an
example that shows the problem?
More information about the CMake