[CMake] Ctest applied in a sub dir

Yann COLLETTE ycollette.nospam at free.fr
Sun Oct 24 06:18:59 EDT 2010


Hello,

I have used cmake to build an executable (which is 
${CMAKE_EXECUTABLE_DIR}/myprog.exe).
I wanted to use ctest to test my executable. But I need to execute this 
program in specific directories with various data set (in 
${CMAKE_SOURCE_DIR}/tests/first_test for example).

Is it possible to do this with ctest ?

YC


More information about the CMake mailing list