]> Creatis software - clitk.git/blob - tests/tools/CMakeLists.txt
correction of data test path
[clitk.git] / tests / tools / CMakeLists.txt
1 include_directories(
2   ${PROJECT_SOURCE_DIR}/common
3   ${PROJECT_SOURCE_DIR}/tools
4   ${GTEST_DIR}/include
5 )
6
7 FILE(GLOB srcs *.cxx)
8 ADD_EXECUTABLE(toolsTest ${srcs})
9 ADD_DEFINITIONS(-DTOOLS_PATH=\"${PROJECT_BINARY_DIR}/bin/\")
10 target_link_libraries(toolsTest vvLib ${vvExternalLibs} gtest)
11
12 # Add all tests found in the source code, calling the executable to run them
13 add_google_tests ( ${EXECUTABLE_OUTPUT_PATH}/toolsTest ${srcs})
14 SET(BUILDNAME ${BUILDNAME}_tools CACHE INTERNAL DOCSTRING)