I am trying to use CMake to configure a project that has unit tests.
One unit test requires supporting XML files to perform its test. It was
assumed that the test would be executed from the directory where the
test application exists, so a target was added that copies the XML files
to that location.
However, it turns out that the tests fails when the test target created
by CMake is executed because CMake configured CTest to change to some
subdirectory located beneath the execuable directory and perform the
test in that location.
What is needed so that CTest will executing the test application in the
expected location?
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake