hat doesn't help, can you generate a different buildsystem
> (perhaps NMake) and see what the command line looks like there?
> Perhaps a flag turning incremental linking on comes from a different
> variable (there's a lot of cmake vars which make up the final command
> line).
>
Hi Petr,
Unfortunately it doesn't. I changed the sample as following but
intel fortran ignores incremental linking setting.
cmake_minimum_required(VERSION 2.8)
project(TestF90 Fortran)
set(CMAKE_EXE_LINKER_FLAGS "/INCREMENTAL:NO"
CACHE STRING "EXE_LINKER_FLAGS" FORCE)
a
Hello all!
I am trying to adopt cmake for fortran based project. This is my first
CMakeLists.txt for
fortran.
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
SET(CMAKE_EXE_LINKER_FLAGS "/INCREMENTAL:NO"
CACHE STRING "EXE_LINKER_FLAGS" FORCE)
PROJECT(TestF90 Fortran)
ADD_EXECUTABLE (TestF90_EXE main.f90)