[CMake] Different libs in debug/release VS 7.1

Jan Woetzel jw at mip.informatik.uni-kiel.de
Tue Nov 16 05:06:43 EST 2004


Marco,
I think the debug/optimized flags refers only to libname directly
following the flag.
You may try something like this:

TARGET_LINK_LIBRARIES(
 libIDOOpenSGRenderer
 libIDOKernel
 libIDOInOut
 ...
 optimized lOSGBase debug OSGBaseD
 optimized foo  debug fooD
 ...
 opengl32
)

Jan.


-- 

  Dipl.-Ing. Jan Woetzel
--------------------------------------------------
  University of Kiel
  Institute of Computer Science and Applied Mathematics
  Hermann-Rodewald-Str. 3 [room 401]
  24098 Kiel/Germany
--------------------------------------------------
  Phone +49-431-880-1418
  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