[CMake] LINKER FLAGS

pellegrini pellegrini at ill.fr
Tue Sep 13 04:35:28 EDT 2011


Hi all,

I would like to build a Fortran90 project using Fortran intel compiler. 
I would like to increase the stack by adding the "/stack"
flag to the linker.

Looking on the documentation, I think that "set(CMAKE_EXE_LINKERS_FLAG 
/stack:64000000)" will do the job but I was wondering if using this 
command will remove the list of flags that may be set by cmake 
(behaviour that I would like to avoid) or just append it to this list ?

thanks

Eric

-- 
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France



More information about the CMake mailing list