Re: [CMake] Ctest executable dll/so search path

2015-11-09 Thread Scott Aron Bloom
nt: Sunday, November 8, 2015 7:02 AM To: cmake@cmake.org Subject: Re: [CMake] Ctest executable dll/so search path A problem long-suffered on Windows and when lacking RPATH. Have seen approaches where DLL dependencies are POST_BUILD customed-command-copied-if-different into the executable directory, or

Re: [CMake] Ctest executable dll/so search path

2015-11-08 Thread Iosif Neitzke
A problem long-suffered on Windows and when lacking RPATH. Have seen approaches where DLL dependencies are POST_BUILD customed-command-copied-if-different into the executable directory, or gymnastics with add_test WORKING_DIRECTORY, or setting a test's ENVIRONMENT property. On Fri, Nov 6, 2015

[CMake] Ctest executable dll/so search path

2015-11-06 Thread Scott Aron Bloom
I have a unit test, that I have have avoided deploying, because its executable (gmock/gtest based) depends on a third party dll. Essentially it's a unit test to test our interface to the thirdparty library. So for much of the application unittesting, I have a mock to simulate the 3rd party