Re: [CMake] CMake copy files when they change to build dir

2009-08-07 Thread Eric Jonas
> > There is a FAQ entry about this that ought to work. Why don't you post > what you have so we can see where you're going wrong? > > Also you can use cmake -E copy_if_different as the command part. It is > platform-independent, unlike cp. Tyler, thanks for the quick response -- after quite a

[CMake] CMake copy files when they change to build dir

2009-08-07 Thread Eric Jonas
Hello, I use CMake with boost::python to generate python modules, and it does a great job of creating the required .so files. There's an interesting question, however, of how to test the resulting object. When doing an out-of-source build, I end up with build/myproj/foo.so and in my source tre

Re: [CMake] how to select static libraries for linking?

2009-06-11 Thread Eric Jonas
On Thu, 2009-06-11 at 16:49 -0600, James C. Sutherland wrote: > I have an executable that links with HDF5 (by the way, is there any > plan to create a "FindHDF5.cmake" file?). > The problem is that I have two flavors of libraries: > libhdf5_cpp.a libhdf5.a > libhdf5_cpp.dyli

[CMake] Running python nose tests

2009-06-04 Thread Eric Jonas
I've written a server that serves up an interface using a cross-language RPC mechanism (dbus) and currently build and unit test with cmake. But testing cross-language (and more functional) aspects of the server is easier to do from python, where I can rapidly test the RPC API. I've written a collec