Michael Wild themiwi at gmail.com
Tue Sep 13 05:08:24 EDT 2011

On 09/13/2011 10:35 AM, pellegrini wrote:
> 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


Also, if you want to apply this to only a single target, you should
probably use the LINK_FLAGS target property instead. There you don't
have to worry about appending.


More information about the CMake mailing list