[CMake] Linking against debug/release libraries on Windows depending on build type
Mike Arthur
mike at mikearthur.co.uk
Wed Jun 18 12:56:28 EDT 2008
Is there some magical way (or can anyone suggest how to implement) CMake can
know that, for a debug build, it wants to link against
${FILENAMEWITHOUTEXTENSION}d.lib and for a release build against
${FILENAMEWITHOUTEXTENSION}.lib?
Double points if anyone also can suggest how I'd install the DLL versions of
those libraries also (the same filename but with a .dll extension rather
than .lib)
Any other UNIX coders having to hack their CMakeLists to cater for Visual
Studio's idiocies please raise your hands...
Thanks in advance!
--
Cheers,
Mike Arthur
More information about the CMake
mailing list