1 cmake_policy(SET CMP0005 NEW)
2 #=========================================================
3 #=========================================================
5 FIND_PATH(CLITK_TEST_DATA_PATH Lung3D.mhd)
6 IF(NOT ${CLITK_TEST_DATA_PATH} MATCHES "NOTFOUND$")
7 SET(CLITK_TEST_DATA_PATH "${CLITK_TEST_DATA_PATH}/")
9 ADD_DEFINITIONS(-DCLITK_TEST_DATA_PATH="${CLITK_TEST_DATA_PATH}")
10 #=========================================================
11 #=========================================================
12 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/tests/bin)
13 SET(BUILDNAME ${CMAKE_SYSTEM_NAME}${CMAKE_OSX_ARCHITECTURES} CACHE INTERNAL DOCSTRING)
14 #=========================================================
15 #=========================================================
16 # Enabled options to test
18 ADD_SUBDIRECTORY(tools)
21 # ADD_SUBDIRECTORY(vv)
23 # IF(CLITK_BUILD_SEGMENTATION)
24 # ADD_SUBDIRECTORY(segmentation)
27 # IF(CLITK_BUILD_REGISTATION)
28 # ADD_SUBDIRECTORY(registration)
30 #ADD_SUBDIRECTORY(common)
31 #=========================================================