<div><br></div>It would be great to have an answer on this, did I miss it in the FAQs?<div><br></div><div>How can we switch off incremental linking for Debug and RelWithDebInfo target on Windows Visual Studio projects?</div>
<div><br></div><div>Thanks a lot,</div><div>Erwin</div><div><br><br><div class="gmail_quote">On 8 February 2010 11:44, Erwin Coumans <span dir="ltr"><<a href="mailto:erwin.coumans@gmail.com">erwin.coumans@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><div><br></div><div>I've search a while and noticed several similar requests, but couldn't find a solution that works.</div>
<div><br></div><div><span style="font-family:monospace;font-size:medium"><pre><a href="http://www.mail-archive.com/cmake@cmake.org/msg19612.html" target="_blank">http://www.mail-archive.com/cmake@cmake.org/msg19612.html</a></pre>
<pre><a href="http://www.ogre3d.org/forums/viewtopic.php?f=4&t=45160" target="_blank">http://www.ogre3d.org/forums/viewtopic.php?f=4&t=45160</a></pre>
<pre><a href="http://www.ogre3d.org/forums/viewtopic.php?t=28115&view=previous&sid=4671d7d566b65f8a4475bad1da67c78f" target="_blank">http://www.ogre3d.org/forums/viewtopic.php?t=28115&view=previous&sid=4671d7d566b65f8a4475bad1da67c78f</a></pre>
<pre><br></pre><pre>        STRING(REPLACE "INCREMENTAL:YES" "INCREMENTAL:NO" replacementFlags ${CMAKE_EXE_LINKER_FLAGS_DEBUG})
        message (${replacementFlags})
        SET(CMAKE_SHARED_LINKER_FLAGS_DEBUG ${replacementFlags})
                
                
        STRING(REPLACE "INCREMENTAL:YES" "INCREMENTAL:NO" replacementFlags2 ${CMAKE_EXE_LINKER_FLAGS})
        message (${replacementFlags2})
        SET(CMAKE_EXE_LINKER_FLAGS ${replacementFlag2})
        </pre><pre>Is there a method using CMake 2.8 or CMake 2.8.1 that works?</pre><pre>Thanks a lot,</pre><pre>Erwin</pre><pre><br></pre><pre><br></pre></span></div>
</blockquote></div><br></div>