Re: [CMake] install (CODE ... is not being invoked

2012-11-15 Thread David Cole
"build-out.log" > ERROR_FILE "build-err.log" > ) > > -Original Message- > From: David Cole [mailto:david.c...@kitware.com] > Sent: Wednesday, November 14, 2012 11:17 AM > To: Marshall, Rob > Cc: cmake@cmake.org > Subject: Re

Re: [CMake] install (CODE ... is not being invoked

2012-11-15 Thread Marshall, Rob
line. > > Thanks, > Rob > > ________________ > From: David Cole [david.c...@kitware.com] > Sent: Tuesday, November 13, 2012 5:40 PM > To: Marshall, Rob > Cc: cmake@cmake.org > Subject: Re: [CMake] install (CODE ... is not being invoked > > If

Re: [CMake] install (CODE ... is not being invoked

2012-11-14 Thread David Cole
_____________ > From: David Cole [david.c...@kitware.com] > Sent: Tuesday, November 13, 2012 5:40 PM > To: Marshall, Rob > Cc: cmake@cmake.org > Subject: Re: [CMake] install (CODE ... is not being invoked > > If I copy/paste your code into a stand-alone CMak

Re: [CMake] install (CODE ... is not being invoked

2012-11-14 Thread Marshall, Rob
vid Cole [david.c...@kitware.com] Sent: Tuesday, November 13, 2012 5:40 PM To: Marshall, Rob Cc: cmake@cmake.org Subject: Re: [CMake] install (CODE ... is not being invoked If I copy/paste your code into a stand-alone CMakeLists.txt file, and run CMake 2.8.10.1 on my Mac with it, I get the expected out

Re: [CMake] install (CODE ... is not being invoked

2012-11-13 Thread David Cole
If I copy/paste your code into a stand-alone CMakeLists.txt file, and run CMake 2.8.10.1 on my Mac with it, I get the expected output: "Sample install message." appears during "make install" after you do a "cmake" and "make" first... INSTALL_TO_ARTIFACTS is empty during the cmake configure stage.

[CMake] install (CODE ... is not being invoked

2012-11-13 Thread Marshall, Rob
Hi, I am trying to use install (CODE) with my cmake script when I invoke "make install" on the command line but when I run the "make install" on the following code install(CODE "set( INSTALL_TO_ARTIFACTS install )" ) install(CODE "message(\"Sample install message.\")") message (" INSTALL_TO_ARTI