[CMake] executable output path vs executable runtime path

2008-09-24 Thread Mehdi Rabah
Hi, I'm trying to copy files in the executable *output* directory but I don't know how to do it in the way that works in Eclipse CDT and Visual Studio. I set my variable executable_output_path (which was changed to cmake_runtime_output_path?) to $cmake_binary_dir/bin, and it works in Eclipse, but

Re: [CMake] executable output path vs executable runtime path

2008-09-24 Thread Werner Smekal
Hi, this might not be the best way (i.e. a hack), but you could use get_target_property http://www.cmake.org/cmake/help/ cmake-2.6.html#command:get_target_property to get the path to your executable and then use get_filename_property http://www.cmake.org/cmake/help/

Re: [CMake] executable output path vs executable runtime path

2008-09-24 Thread Philip Lowman
On Wed, Sep 24, 2008 at 3:17 AM, Mehdi Rabah [EMAIL PROTECTED] wrote: Hi, I'm trying to copy files in the executable *output* directory but I don't know how to do it in the way that works in Eclipse CDT and Visual Studio. I set my variable executable_output_path (which was changed to