Hello,
I have a library target ("a") that is a dependency of an executable
("b"). I have many more libraries and many more executable, some with
"complex" dependencies on the others. Sometimes target "a" cannot be
built either because the user does not want it built or because
FIND_PACKAGE failed to find a dependency of "a".
Q: Can cmake automatically not build "b" when "a" is not available?
I hope the answer is "yes" otherwise I will have to add IF(HAVE_A)
code throughout my CMakeLists.txt file. Worse, in my complex file I
will have to add lots of IF(HAVE_C), IF(HAVE_D) etc.
Thank you,
Chris
--
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