forked from gift-surg/vessel-tools
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
34 lines (25 loc) · 897 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
project(roz_tools)
cmake_minimum_required(VERSION 2.8)
set(roz_tools_VERSION_MAJOR 0)
set(roz_tools_VERSION_MINOR 1)
set(CMAKE_CXX_FLAGS -Wall)
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" MATCHES "^2\\.6\\.4$")
mark_as_advanced(FORCE CMAKE_BACKWARDS_COMPATIBILITY)
else("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" MATCHES "^2\\.6\\.4$")
mark_as_advanced(CLEAR CMAKE_BACKWARDS_COMPATIBILITY)
endif("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" MATCHES "^2\\.6\\.4$")
aux_source_directory(. SRC_LIST)
#add_executable(${PROJECT_NAME} ${SRC_LIST})
find_package(ITK REQUIRED)
if(ITK_FOUND)
message("Found ITK")
include(${ITK_USE_FILE})
endif(ITK_FOUND)
set(ROZ_ITK_LIB ${ITK_LIBRARIES})
subdirs(IO)
subdirs(process)
subdirs(analysis)
subdirs(misc)
include_directories(
${CMAKE_SOURCE_DIR}/lib
)