[CMake] Build-order in Visual Studio
Micha Renner
Micha.Renner at t-online.de
Mon Jan 26 09:06:31 EST 2009
Hello,
is it possible to influence the build-order of MSVC from
CMakeLists.txt-files?
The top-level CMakeLists.txt looks like this:
ADD_SUBDIRECTORY(lib1)
ADD_SUBDIRECTORY(lib2)
ADD_SUBDIRECTORY(lib3)
ADD_SUBDIRECTORY(lib4)
ADD_SUBDIRECTORY(prog)
prog depends on the libs. lib3 depends on lib1 and lib4 depends on lib2.
After a cMake-run the build-order in Visual Studio is "pure" random,
even the main-program is sometimes ZERO_CHECK.
Michael
More information about the CMake
mailing list