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.<br><br><div class="gmail_quote">On Tue, Sep 20, 2011 at 1:16 PM, Perry Ismangil <span dir="ltr"><<a href="mailto:perry@pjsip.org">perry@pjsip.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I've read<br>
<br>
<a href="http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_build_my_MSVC_application_with_a_static_runtime.3F" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_build_my_MSVC_application_with_a_static_runtime.3F</a><br>
<br>
which seems to do what I want to which is have 4 configurations one<br>
for each: MT, MTd, MD, MDd.<br>
<br>
However using flags doesn't seem to work as it is this tag that is important:<br>
<br>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary><br>
<br>
Is there anyway to control what is put on the RuntimeLibrary for<br>
Visual Studio 10 generation?<br>
<br>
Thanks.<br>
<br>
--<br>
Perry Ismangil<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br>