[CMake] dependencies/partial installs between add_subdirectories

Bill O'Hara billtohara at gmail.com
Thu Mar 5 19:10:52 EST 2009


Hi

I'm writing a grand top-level CMakeLists.txt that delegates to a number of
CMakeLists.txt in various subdirectories:

add_subdirectories(foo)
add_subdirectories(bar)

Is there a straightforward to get cmake to do a make install for foo before
continuing on to do bar? And to prevent a parallel build from starting in
bar until this is completed for foo?

thanks!
b.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090305/cb08ab41/attachment.htm>


More information about the CMake mailing list