Re: [CMake] Using Eclipse CDT, CMake resets Eclipse project configuration frequently

2009-01-30 Thread Jonatan Bijl
Thanks! FYI, I've created some macros to do the copying. Haven't thoroughly tested them yet, but they appear to be working. MACRO(COPY_FILE_IF_CHANGED in_file out_file target) ADD_CUSTOM_COMMAND ( TARGET ${target} POST_BUILD COMMAND$

Re: [CMake] Using Eclipse CDT, CMake resets Eclipse project configuration frequently

2009-01-30 Thread Eric Noulard
2009/1/30 Jonatan Bijl : > > I have now set up the tree so that the executables can be run > immediately from where they are created. I use configure_file to copy > the files. The problem is now, that every time I do a re-configure, the > files (including a dll that is very big) are copied. Is ther

Re: [CMake] Using Eclipse CDT, CMake resets Eclipse project configuration frequently

2009-01-30 Thread Michael Jackson
I use the following to copy some test files from one directory to another: SET (HDF5_REFERENCE_TEST_FILES tnullspace.h5 family_v1.7_3.h5 family_v1.7_1.h5 mergemsg.h5 tbogus.h5 tbad_msg_count.h5 group_new.h5 deflate.h5 noencoder.h5 family_v1.7_0.h5 le_extlink1.h

Re: [CMake] Using Eclipse CDT, CMake resets Eclipse project configuration frequently

2009-01-30 Thread Jonatan Bijl
>> I have created an out-of-source build tree (on Windows), with the >> installation directory as a subfolder of the build trees. The idea is >> that the compiled binary requires some DLL's, images, 3D models and >> configuration files, at a location relative to the executable. If the >> files are

Re: [CMake] Using Eclipse CDT, CMake resets Eclipse project configuration frequently

2009-01-26 Thread Michael Jackson
My personal suggestion would be to use the plain MakeFiles generator and then inside eclipse create a "C++ Makefile" project. You can then point the project settings at the build directory to find the makefile and also tell eclipse to use "make all install" as the build command instead of p

Re: [CMake] Using Eclipse CDT, CMake resets Eclipse project configuration frequently

2009-01-26 Thread Michael Wild
On 26. Jan, 2009, at 12:24, Jonatan Bijl wrote: Hi, I have created an out-of-source build tree (on Windows), with the installation directory as a subfolder of the build trees. The idea is that the compiled binary requires some DLL's, images, 3D models and configuration files, at a location r