Re: [CMake] Linker flags on all except a couple of programs

2017-01-13 Thread Matthew Woehlke
On 2017-01-12 00:49, Paul Smith wrote: > I have a CMake-based build that creates about 170 binaries (most of them > are individual unit test programs). > > I have set the CMAKE_EXE_LINKER_FLAGS to a set of flags I wanted on all > the binaries. > > Now it turns out that I need to remove, or not

[CMake] Linker flags on all except a couple of programs

2017-01-11 Thread Paul Smith
I have a CMake-based build that creates about 170 binaries (most of them are individual unit test programs). I have set the CMAKE_EXE_LINKER_FLAGS to a set of flags I wanted on all the binaries. Now it turns out that I need to remove, or not set, one specific flag on a small number (like 5) of

[CMake] Linker flags not considered

2011-10-12 Thread pellegrini
Hi all, I would like to build a project using intel fortran compiler. When building the project I would like to add/change two linker flags: - /stack:12800 - /subsystem:windows (when launched, the executable (GUI) will not launch any additional terminal) To do so, I simply added

Re: [CMake] Linker flags not considered

2011-10-12 Thread Rolf Eike Beer
On Mi., 12. Okt. 2011 17:05:52 CEST, pellegrini pellegr...@ill.fr wrote: Hi all, I would like to build a project using intel fortran compiler. When building the project I would like to add/change two linker flags:         - /stack:12800         - /subsystem:windows (when launched,

Re: [CMake] Linker flags not considered - solved

2011-10-12 Thread pellegrini
that's work ! Great ! Thanks a lot Rolf Rolf Eike Beer a écrit : On Mi., 12. Okt. 2011 17:05:52 CEST, pellegrini pellegr...@ill.fr wrote: Hi all, I would like to build a project using intel fortran compiler. When building the project I would like to add/change two linker flags:

[CMake] LINKER FLAGS

2011-09-13 Thread pellegrini
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:6400) will do the job but I was wondering if using this

Re: [CMake] LINKER FLAGS

2011-09-13 Thread Eric Noulard
2011/9/13 pellegrini pellegr...@ill.fr: 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:6400) will do

Re: [CMake] LINKER FLAGS

2011-09-13 Thread Michael Wild
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:6400)

Re: [CMake] LINKER FLAGS

2011-09-13 Thread pellegrini
thanks for the hint Eric Michael Eric Michael Wild a écrit : 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

[CMake] Linker Flags

2010-11-24 Thread Reinhard Thies
Hi all, i am trying to crosscompile one of my projects. Iam using some linker flags for that: SET(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} -m5307 -Wl,-elf2flt -Os -lc) The following link command will be generated, but I need the -lc option at the end of

Re: [CMake] Linker Flags

2010-11-24 Thread Reinhard Thies
On Wednesday 24 November 2010 12:05:49 Reinhard Thies wrote: Hi all, i am trying to crosscompile one of my projects. Iam using some linker flags for that: SET(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} -m5307 -Wl,-elf2flt -Os -lc) The following link command will be generated, but