<div>Hi Petr,</div><div>Unfortunately it doesn't. I changed the sample as following but </div><div>intel fortran ignores incremental linking setting.</div><div> </div><div>cmake_minimum_required(VERSION 2.8)<br>project(TestF90 Fortran)<br>
set(CMAKE_EXE_LINKER_FLAGS "/INCREMENTAL:NO" <br> CACHE STRING "EXE_LINKER_FLAGS" FORCE)<br>add_executable(TestF90_EXE main.f90)<br><br>Thanks,</div><div>Alexander<br></div><div class="gmail_quote">
2012/9/3 Petr Kmoch <span dir="ltr"><<a href="mailto:petr.kmoch@gmail.com" target="_blank">petr.kmoch@gmail.com</a>></span><br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
Hi Alexander.<br>
<br>
CMAKE_EXE_LINKER_FLAGS and similar variables can only be modified<br>
after a call to PROJECT() (the PROJECT() calls sets them up to some<br>
defaults). See if this fixes your issue.<br>
<span class="HOEnZb"><font color="#888888"><br>
Petr<br>
</font></span></blockquote></div><br>