Re: [CMake] Appending to the LINK_FLAGS target property ?

2011-07-22 Thread David Cole
It was just committed a week ago... It's not even in 'master' -- but it should make it into 2.8.6... On Fri, Jul 22, 2011 at 6:36 PM, Glenn Coombs wrote: > Excellent. Do you know if this option was included in the recent cmake > 2.8.5 release, or will it not appear officially until 2.8.6 ? > >

Re: [CMake] Appending to the LINK_FLAGS target property ?

2011-07-22 Thread Glenn Coombs
Excellent. Do you know if this option was included in the recent cmake 2.8.5 release, or will it not appear officially until 2.8.6 ? On 22 July 2011 18:39, Johan Björk wrote: > Glenn, > > An option APPEND_STRING was added, see > http://public.kitware.com/Bug/view.php?id=12342 > > /Johan > > > O

Re: [CMake] Appending to the LINK_FLAGS target property ?

2011-07-22 Thread Johan Björk
Glenn, An option APPEND_STRING was added, see http://public.kitware.com/Bug/view.php?id=12342 /Johan On Mon, Jun 27, 2011 at 4:47 PM, Glenn Coombs wrote: > For variables like CMAKE_C_FLAGS one can append to them like this: > >     set(CMAKE_C_FLAGS "${CMAKE_CFLAGS} -some_option") > > For targe

[CMake] Appending to the LINK_FLAGS target property ?

2011-06-27 Thread Glenn Coombs
For variables like CMAKE_C_FLAGS one can append to them like this: set(CMAKE_C_FLAGS "${CMAKE_CFLAGS} -some_option") For target properties like LINK_FLAGS I was using this command: set_property(TARGET myDLL APPEND PROPERTY LINK_FLAGS /NODEFAULTLIB:"LIBCMT") to do the append. However, w