[CMake] set_target_properties called twice

2012-10-16 Thread Eric Clark
Hello, I am currently having trouble with set_target_properties(...). I am trying to call it twice to set two different values for the same property. The first call I make looks like this: set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS /ENTRY:mainCRTStartup) Then, I call it

Re: [CMake] set_target_properties called twice

2012-10-16 Thread Miller, Frank
To: CMake Mailing List (cmake@cmake.org) Subject: [CMake] set_target_properties called twice Hello, I am currently having trouble with set_target_properties(...). I am trying to call it twice to set two different values for the same property. The first call I make looks like

Re: [CMake] set_target_properties called twice

2012-10-16 Thread David Cole
On Tue, Oct 16, 2012 at 3:53 PM, Eric Clark ecl...@ara.com wrote: Hello, I am currently having trouble with set_target_properties(…). I am trying to call it twice to set two different values for the same property. The first call I make looks like this:

Re: [CMake] set_target_properties called twice

2012-10-16 Thread Eric Clark
[mailto:cmake-boun...@cmake.org] On Behalf Of Eric Clark Sent: Tuesday, October 16, 2012 2:53 PM To: CMake Mailing List (cmake@cmake.orgmailto:cmake@cmake.org) Subject: [CMake] set_target_properties called twice Hello, I am currently having trouble with set_target_properties(...). I am trying to call

Re: [CMake] set_target_properties called twice

2012-10-16 Thread David Cole
set_property with the APPEND or APPEND_STRING option to do what you want. Frank From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Eric Clark Sent: Tuesday, October 16, 2012 2:53 PM To: CMake Mailing List (cmake@cmake.org) Subject: [CMake] set_target_properties

Re: [CMake] set_target_properties called twice

2012-10-16 Thread Eric Clark
] Sent: Tuesday, October 16, 2012 3:25 PM To: Eric Clark Cc: CMake Mailing List (cmake@cmake.org) Subject: Re: [CMake] set_target_properties called twice Try APPEND_STRING with a leading space in the string... On Tue, Oct 16, 2012 at 4:19 PM, Eric Clark ecl...@ara.com wrote: Frank