[CMake] Setting RuntimeLibrary tag on Visual Studio 10

Yuri Timenkov yuri at timenkov.ru
Tue Sep 20 05:48:48 EDT 2011


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 <perry at pjsip.org> wrote:

> 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
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110920/6d2c4877/attachment-0001.htm>


More information about the CMake mailing list