Guillaume Blanc wrote:
> Some tests that I run need to access files (using a relative path) that are
> located in the same directory as the test executable itself. So I'm trying
> to use ADD_TEST property WORKING_DIRECTORY in the following way:
>
> ADD_TEST(
> NAME mytest
> WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${CMAKE_CFG_INTDIR}
> COMMAND myexec)WORKING_DIRECTORY $<TARGET_FILE_DIR:mytest> Eike --
signature.asc
Description: This is a digitally signed message part.
-- 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
