How to build projects with make -j2 and ADD_SUBDIRECTORY?
A TOP-Level CMakeLists.txt has the following lines:
ADD_SUBDIRECTORY(libtiff) # The Library
ADD_SUBDIRECTORY(test) # Programm depending on libtiff
# more subdiretories depending on libtiff
The build-command is:
make -j2
The result is: make cancels the build of the test-subdirectory (libtiff
isn't ready).
What can I do that the project in the test-directory waits until the
build of the libaray is done?
I guess, this is something what CMake can't do yet.
With best regards
Michael
2001-12-10 11:03 king
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake