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 w

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

2009-05-12 Thread Scott Gray
ks for you... Thanks, David On Tue, May 12, 2009 at 2:34 PM, Scott Gray <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

[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] 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] 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 DL

Re: [CMake] Specify dependency on externally generated shared library

2009-05-07 Thread Scott Gray
Tyler Roscoe wrote: On Wed, May 06, 2009 at 03:53:10PM -0400, Scott Gray wrote: My problem is that I need to both generate the DLL and declare it as an imported library so that other programs can depend upon it. I think I'm Maybe I'm missing something, but why do you need

[CMake] Specify dependency on externally generated shared library

2009-05-06 Thread Scott Gray
Hello, I've been working for a while to integrate the C/C++ internationalization library ICU with our cmake build process and I've made some pretty good progress, but I'm currently kind of stuck. During part of the ICU bundling process, it takes language resource files (*.res files) and a p