Re: [CMake] How to append arbitrary linker options?

2009-06-04 Thread Brad King
Bartlett, Roscoe A wrote: I would like to be able to append arbitrary linker options to the end of my link lines on Unix/Linux systems. However, the options set in the CMAKE_EXE_LINKER_FLAGS variable are listed *before* all of the libraries that CMake knows about. I need to be able to append

Re: [CMake] How to append arbitrary linker options?

2009-02-02 Thread Brad King
Bartlett, Roscoe A wrote: The hack: set(CMAKE_CXX_LINK_EXECUTABLE ${CMAKE_CXX_LINK_EXECUTABLE} ${NASTY_FLAGS}) does not work because my libraries still come after these flags. Read my suggestion more carefully. I'm not setting CMAKE_EXE_LINKER_FLAGS. I'm setting the variable from

Re: [CMake] How to append arbitrary linker options?

2009-02-01 Thread Bartlett, Roscoe A
To: Bartlett, Roscoe A Cc: cmake@cmake.org; Perschbacher, Brent M Subject: Re: [CMake] How to append arbitrary linker options? On Fri, Jan 30, 2009 at 12:56 PM, Bartlett, Roscoe A raba...@sandia.govmailto:raba...@sandia.gov wrote: Hello, I would like to be able to append arbitrary linker options

Re: [CMake] How to append arbitrary linker options?

2009-02-01 Thread Philip Lowman
On Sun, Feb 1, 2009 at 5:45 PM, Bartlett, Roscoe A raba...@sandia.govwrote: Setting set_target_properties(foo PROPERTIES LINK_FLAGS ...) does not work. The other libraries just come after these flags. Sorry about that, I wasn't sure if it would work or not. Did Brad's suggestion pan out?

Re: [CMake] How to append arbitrary linker options?

2009-02-01 Thread Bartlett, Roscoe A
. Thanks, - Ross -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Friday, January 30, 2009 12:43 PM To: Bartlett, Roscoe A Cc: cmake@cmake.org; Perschbacher, Brent M Subject: Re: [CMake] How to append arbitrary linker options? Bartlett, Roscoe A wrote

[CMake] How to append arbitrary linker options?

2009-01-30 Thread Bartlett, Roscoe A
Hello, I would like to be able to append arbitrary linker options to the end of my link lines on Unix/Linux systems. However, the options set in the CMAKE_EXE_LINKER_FLAGS variable are listed *before* all of the libraries that CMake knows about. I need to be able to append a bunch of nasty

Re: [CMake] How to append arbitrary linker options?

2009-01-30 Thread Philip Lowman
On Fri, Jan 30, 2009 at 12:56 PM, Bartlett, Roscoe A raba...@sandia.govwrote: Hello, I would like to be able to append arbitrary linker options to the end of my link lines on Unix/Linux systems. However, the options set in the CMAKE_EXE_LINKER_FLAGS variable are listed *before* all of the

Re: [CMake] How to append arbitrary linker options?

2009-01-30 Thread Brad King
Bartlett, Roscoe A wrote: Hello, I would like to be able to append arbitrary linker options to the end of my link lines on Unix/Linux systems. However, the options set in the CMAKE_EXE_LINKER_FLAGS variable are listed *before* all of the libraries that CMake knows about. I need to be