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
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
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