If the generated makefiles have /MT, but the cache has /MD in it, then there is some &quot;local variable&quot; override of the flags in one of the CMakeLists.txt files. Normal and expected not necessarily anything to be concerned about as long as the code in the CMakeLists.txt file is manipulating the flags consistently and correctly.<div>
<br></div><div><br></div><div>HTH,</div><div>David</div><div><br><br><div class="gmail_quote">On Sat, Jul 10, 2010 at 7:58 PM, John Cary <span dir="ltr">&lt;<a href="mailto:cary@txcorp.com">cary@txcorp.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I am trying to link a project on windows.<br>
<br>
The final build.make as /MT in it, but I also see:<br>
<br>
<br>
numbersix.cary$ grep CXX_FLAGS_RELEASE:STRING CMakeCache.txt<br>
CMAKE_CXX_FLAGS_RELEASE:STRING=/MD /O2<br>
<br>
<br>
Any understanding of how I could get to this inconsistency?<br>
<br>
Thx...John Cary<br>
<br>
<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></div>