[CMake] Setting RuntimeLibrary tag on Visual Studio 10

2011-09-20 Thread Perry Ismangil
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:

Re: [CMake] Setting RuntimeLibrary tag on Visual Studio 10

2011-09-20 Thread Yuri Timenkov
These flags should work. If you specify them, CMake automatically translates them into appropriate XML tags. At least 2.8.5 and 2.8.4 work well. On Tue, Sep 20, 2011 at 1:16 PM, Perry Ismangil pe...@pjsip.org wrote: Hi, I've read

Re: [CMake] Setting RuntimeLibrary tag on Visual Studio 10

2011-09-20 Thread Perry Ismangil
On Tue, Sep 20, 2011 at 10:48, Yuri Timenkov y...@timenkov.ru wrote: These flags should work. If you specify them, CMake automatically translates them into appropriate XML tags. At least 2.8.5 and 2.8.4 work well. Thanks Yuri, It does work! I must have done something wrong earlier when