[CMake] libs only target

Jan Woetzel jw at mip.informatik.uni-kiel.de
Thu Jun 1 03:16:54 EDT 2006


Hi,
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...


Jan

-- 

  Dipl.-Ing. Jan Woetzel
--------------------------------------------------
  University of Kiel
  Institute of Computer Science and Applied Mathematics
  Hermann-Rodewald-Str. 3 [room 310]
  24098 Kiel/Germany
--------------------------------------------------
  Phone +49-431-880-4477
  Fax   +49-431-880-4054
  Mob.  +49-179-2937346
--------------------------------------------------
  Url   www.mip.informatik.uni-kiel.de/~jw
  Email jw at mip.informatik.uni-kiel.de



More information about the CMake mailing list