Am Montag 02 März 2009 18:24:32 schrieb Dmytro Ovdiienko: > if I have several configurations (e.g. /MT, /MTd, /MD, /MDd), how can I > pass additional libraries to the target_link_libraries? I have two > optimized libaries. One for /MT and one for /MD.
That depends if you want to link statically or dynamic, to MSVCRT. This can be handled independent from target_link_libraries(), e.g. by a user-settable option(). HS _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
