[CMake] Setting RuntimeLibrary tag on Visual Studio 10

Perry Ismangil perry at pjsip.org
Tue Sep 20 05:16:14 EDT 2011


Hi,

I've read

http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_build_my_MSVC_application_with_a_static_runtime.3F

which seems to do what I want to which is have 4 configurations one
for each: MT, MTd, MD, MDd.

However using flags doesn't seem to work as it is this tag that is important:

<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>

Is there anyway to control what is put on the RuntimeLibrary for
Visual Studio 10 generation?

Thanks.

-- 
Perry Ismangil


More information about the CMake mailing list