From: mpech Date: Tue, 26 Jul 2011 09:33:55 +0000 (+0200) Subject: definition of test_Tool_Path X-Git-Tag: v1.3.0~253^2~1 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=88fb52a72a2372f44a6100e9692533fb372208a4;p=clitk.git definition of test_Tool_Path --- diff --git a/tests/tools/CMakeLists.txt b/tests/tools/CMakeLists.txt index 90cb097..fa035f2 100644 --- a/tests/tools/CMakeLists.txt +++ b/tests/tools/CMakeLists.txt @@ -10,10 +10,11 @@ SET (CUSTOM_TEST_SRC ) SET(BUILDNAME ${BUILDNAME}_tools CACHE INTERNAL DOCSTRING) - +ADD_DEFINITIONS(-DCLITK_TEST_TOOLS_PATH=\"${PROJECT_BINARY_DIR}/bin/\") SET (srcs toolTestRunner.cxx ) + ADD_EXECUTABLE(toolTestRunner ${srcs}) TARGET_LINK_LIBRARIES(toolTestRunner vvLib ${vvExternalLibs}) SET(exe ${EXECUTABLE_OUTPUT_PATH}/toolTestRunner)