Re: [CMake] add_test and locating dependent DLL's on Windows

2009-05-14 Thread Scott Gray
Werner Smekal wrote: Hi Scott, There is actually a possibility to tell Visual C++ directly where the DLL is located (by changing the PATH variable for one configuration inside VS), but I don't remember right now how and I'm just on the wrong OS right now to have a look. Obviously I

Re: [CMake] add_test and locating dependent DLL's on Windows

2009-05-12 Thread Scott Gray
Werner Smekal wrote: Hi. As I said, on Linux when I do make test, my_test gets run fine--I think because rpath is properly recording the location of the shared libraries. On windows (Visual Studio 2005), my_test will not run. When I execute ctest by hand, I am told that it cannot locate

[CMake] Possible set_tests_properties(ENVIRONMENT) bug?

2009-05-12 Thread Scott Gray
While trying to research the answer to my question about how to make your test program locate its dependent DLL's (see my previous posting entitled add_test and locating dependent DLL's on Windows), I decided to try the recently added ENVIRONMENT property of set_tests_properties to set the

Re: [CMake] Possible set_tests_properties(ENVIRONMENT) bug?

2009-05-12 Thread Scott Gray
:34 PM, Scott Gray sg...@inventa.com mailto:sg...@inventa.com wrote: While trying to research the answer to my question about how to make your test program locate its dependent DLL's (see my previous posting entitled add_test and locating dependent DLL's on Windows), I decided

[CMake] add_test and locating dependent DLL's on Windows

2009-05-11 Thread Scott Gray
All, I currently have a test program that is used to test an API in shared library that I am producing as part of the build. The build of the shared library and running of the test program is working on Linux but not on Windows because it appears to me that my test program cannot find the