How can I mimic a second CMAKE_RUNTIME_OUTPUT_DIRECTORY for the tests?
2012-07-10 01:35:20 GMT
My source and tests are stored separately in a quasi-parallel arrangement:
/bin # CMAKE_RUNTIME_OUTPUT_DIRECTORY
/mod1 # Build directory
/src # source
/test # source for tests
When I build the tests, I would like the tests to either go in /proj/build/testbin or stay where the object files are, same as they would if CMAKE_RUNTIME_OUTPUT_DIRECTORY had never been set. Is there any simple way to do this for the /test part of the directory tree, or do I have to set the RUNTIME_OUTOUT_DIRECTORY property all over the place?
There are enough test and non-test executables that this is painful either way.
-- 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