Thanks Bill for the trick.<br><br>Unfortunately this works only for exe targets.<br>It doesn&#39;t work for dll&#39;s. Moreover, before the link command there is this output: &quot;Visual Studio Non-Incremental Link&quot;<br>

<br>Below you have the verbose build output (regardless if it&#39;s the first, 2nd, etc). Maybe this helps.<br><br>Linking CXX shared library zorba_simplestore.dll<br>        cd C:\Users\Gabriel\Work\28msec\zorba\builds\debug10\src<br>

        &quot;C:\Program Files\CMake 2.8\bin\cmake.exe&quot; -E vs_link_dll C:\PROGRA~1\MICROS~2.0\VC\bin\link.exe /nologo @CMakeFiles\zorba_simplestore.dir\objects1.rsp<br>@C:\Users\Gabriel\AppData\Local\Temp\nm565E.tmp<br>

<b>Visual Studio Non-Incremental Link</b><br>LINK:<br>C:\PROGRA~1\MICROS~2.0\VC\bin\link.exe /nologo @CMakeFiles\zorba_simplestore.dir\objects1.rsp /out:zorba_simplestore.dll /implib:zorba_simplestore.lib /pdb:C:\U<br>sers\Gabriel\Work\28msec\zorba\builds\debug10\src\zorba_simplestore.pdb /dll /version:1.5 /STACK:10000000 /machine:X86 /debug C:\Users\Gabriel\Work\28msec\tools<br>

\curl_7_19_3\libcurl_imp.lib C:\Users\Gabriel\Work\28msec\tools\tidy\lib\tidy.lib C:\Users\Gabriel\Work\28msec\tools\iconv\lib\iconv.lib C:\Users\Gabriel\Work\2<br>8msec\tools\icu_4_4_1_src\lib\icuuc.lib C:\Users\Gabriel\Work\28msec\tools\icu_4_4_1_src\lib\icuin.lib C:\Users\Gabriel\Work\28msec\tools\icu_4_4_1_src\lib\icud<br>

t.lib C:\Users\Gabriel\Work\28msec\tools\libxml2\lib\libxml2.lib C:\Users\Gabriel\Work\28msec\tools\xerces-c-3.1.1-x86-windows-vc-10.0\lib\xerces-c_3.lib C:\Use<br>rs\Gabriel\Work\28msec\tools\libxml2\lib\libxml2.lib ..\external\json\json.lib wsock32.lib C:\Users\Gabriel\Work\28msec\tools\xerces-c-3.1.1-x86-windows-vc-10.0<br>

\lib\xerces-c_3.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST<br><b>LINK : zorba_simplestore.dll not found or not built by the last incremental link; performing full link</b><br>

   Creating library zorba_simplestore.lib and object zorba_simplestore.exp<br>MT:<br>C:/Program Files/Microsoft SDKs/Windows/v7.0A/bin/mt.exe /nologo /manifest zorba_simplestore.dll.manifest /outputresource:zorba_simplestore.dll;#2<br>

        cd C:\Users\Gabriel\Work\28msec\zorba\builds\debug10<br><br><br>On Thu, Dec 9, 2010 at 5:10 AM, Bill Hoffman &lt;<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>&gt; wrote:<br>&gt; On 12/8/2010 10:18 PM, Bill Hoffman wrote:<br>

&gt;&gt;<br>&gt;&gt; On 12/8/2010 4:21 PM, Gabriel Petrovay wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Yes I did. That is why I am wrote this post. Regardless of previous<br>&gt;&gt;&gt; build. I always get:<br>&gt;&gt;&gt; LINK : examples.exe not found or not built by the last incremental<br>

&gt;&gt;&gt; link; performing full link<br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Try a make VERBOSE=1 with the /incremental:yes on, and post the results<br>&gt;&gt; of the second build that should be incremental.<br>&gt;&gt;<br>

&gt;<br>&gt; Never mind, I have reproduced the problem.  It seems like the incremental<br>&gt; linking is broken for VS 2010 nmake.<br>&gt;<br>&gt; To get it to work, you have to do add /INCREMENTAL:YES to<br>&gt; CMAKE_EXE_LINKER_FLAGS_DEBUG, you get a warning but it does the correct<br>

&gt; thing with mt and the incremental linking:<br>&gt;<br>&gt; [ 75%] Built target simpleLib<br>&gt; Scanning dependencies of target Simple<br>&gt; [100%] Building CXX object CMakeFiles/Simple.dir/simple.cxx.obj<br>&gt; simple.cxx<br>

&gt; Linking CXX executable Simple.exe<br>&gt; LINK : warning LNK4224: /INCREMENTAL:YES is no longer supported;  ignored<br>&gt; [100%] Built target Simple<br>&gt;<br>&gt; I will have to figure out a new way to add incremental linking to VS2010.<br>

&gt;<br>&gt; -Bill<br>&gt;<br>&gt;<br>&gt;<br><br><br><br>-- <br>MSc Gabriel Petrovay<br>Mobile: +41(0)787978034<br><a href="http://www.28msec.com">www.28msec.com</a><br><br>