[CMake] libs only target
brad.king at kitware.com
Thu Jun 1 09:09:32 EDT 2006
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)
More information about the CMake