Hi all.

I wrote some unit tests for a library target in my project. A driver 
application links the library and runs the tests. This works fine with 
Makefile targets on Linux. With MinGW Makefiles on Windows, the driver 
properly links, but when running `make test`, the system complains that it can 
not find the dll linked previously ("The application has failed to start 
because target.dll was not found. [...]"). 

Is there any cmake-magic that would allow to run `make test` on MinGW similar 
to any Linux or Mac environment, i.e. without any manual steps? Anything but a 
custom target to copy the dll in question into the directory of the test 
driver or modifying %PATH%?

Thanks

        Daniel
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to