Jan Woetzel wrote:
is there a way to compile/link only the "libs" (ADD_LIBRARY)
but skip linking the executables (ADD_EXECUTABLE)
using a global option/switch on cmake level?
I want to save compilation time when I need only the libraries for
linking my client project.
But we have about 200 examples in subdirectories and linking them takes
a lot of time...
OPTION(BUILD_EXAMPLES "Build examples" OFF)
IF(BUILD_EXAMPLES)
ADD_SUBDIRECTORY(Examples)
ENDIF(BUILD_EXAMPLES)
-Brad
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake