Re: [CMake] Per Target CMAKE_C??_FLAGS Reset/Redefinition

2015-05-26 Thread David Hauck
but I hope someone will comment. > > Regards, > Murali. > > On Mon, May 25, 2015 at 1:04 PM, David Hauck > wrote: > > > Hi, > > I've been searching for a definitive discussion of this but > haven't

Re: [CMake] Per Target CMAKE_C??_FLAGS Reset/Redefinition

2015-05-26 Thread David Hauck
am not sure if there is a better way, but I hope someone will comment. > > Regards, > Murali. > > On Mon, May 25, 2015 at 1:04 PM, David Hauck > wrote: > > > Hi, > > I've been searching for a definitive discussion of this but haven't >

[CMake] Per Target CMAKE_C??_FLAGS Reset/Redefinition

2015-05-25 Thread David Hauck
Hi, I've been searching for a definitive discussion of this but haven't been successful finding it. I have a (Unix Makefile) CMakeLists.txt project sub-directory that defines several (3) targets (for executable and shared targets). I'm trying to reset/redefine the CMAKE_C??_FLAGS (specifically

Re: [CMake] INSTALL CODE Error Results and Termination

2013-11-13 Thread David Hauck
...)" > it would allow you to avoid escaping. You would just need to configure > the script using "configure_file". Hmmm, OK, I'll look into reviewing this to see how things differ. Thanks, -David > Hth > Jc > > On Wed, Nov 13, 2013 at 2:57 PM, David

Re: [CMake] INSTALL CODE Error Results and Termination

2013-11-13 Thread David Hauck
On Wednesday, November 13, 2013 11:42 AM, David Hauck wrote: > Hi Jean-christophe, > > On chris.filli...@kitware.com], Jean-Christophe Fillion-Robin wrote: >> Hi David, >> >> You need to escape the "$" sign otherwise the "_err", "_out"

Re: [CMake] INSTALL CODE Error Results and Termination

2013-11-13 Thread David Hauck
> RESULT_VARIABLE _res > )" >) > install(CODE "message( STATUS \"out: \${_out}, err: \${_err}, res: > \${_res}...\")") -8<---8<-- Aha! This was probably obvious to you and Kornel, but it "escaped&qu

Re: [CMake] INSTALL CODE Error Results and Termination

2013-11-13 Thread David Hauck
Hi Kornel, On Wednesday, November 13, 2013 11:08 AM, cmake-boun...@cmake.org wrote: > Am Mittwoch, 13. November 2013 um 18:41:03, schrieb David Hauck > >> Hi Kornel, >> >> On Wednesday, November 13, 2013 10:26 AM, cmake- > boun...@cmake.org wrote: >>> Am Mit

Re: [CMake] INSTALL CODE Error Results and Termination

2013-11-13 Thread David Hauck
reate one if no body find it) > > > Hth > Jc > > [1] > https://github.com/Slicer/Slicer/blob/95f48d89d0806cd30b0cf58b20b77901 > 63 cec1c8/CMake/SlicerCPack.cmake#L81-86 > > On Wed, Nov 13, 2013 at 1:41 PM, David Hauck > wrote: > Hi Kornel, > >

Re: [CMake] INSTALL CODE Error Results and Termination

2013-11-13 Thread David Hauck
Hi Kornel, On Wednesday, November 13, 2013 10:26 AM, cmake-boun...@cmake.org wrote: > Am Mittwoch, 13. November 2013 um 18:12:26, schrieb David Hauck > >> Hello, >> >> I've been using several "install (CODE "EXECUTE_PROCESS ...")" >> co

[CMake] INSTALL CODE Error Results and Termination

2013-11-13 Thread David Hauck
Hello, I've been using several "install (CODE "EXECUTE_PROCESS ...")" constructs in my top-level CMakeLists.txt file. However, I've been unable to capture/operate on any exit status of the embedded command. Unfortunately, documentation/searches haven't turned up any useful pointers. The closest