-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakeLists.txt
39 lines (30 loc) · 1.01 KB
/
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
34
35
36
37
38
39
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(Shape2014Validation)
FIND_PACKAGE(statismo REQUIRED)
FIND_PACKAGE(ITK REQUIRED)
include (${ITK_USE_FILE})
FILE(GLOB INCLUDE_FILES *.h)
FILE(GLOB SOURCE_FILES *.txx *.cpp)
SET (SOURCE_FILES_COMMON
src/generalization.cpp
src/compactness.cpp
src/specificity.cpp
src/utils.cpp
src/config.cpp
src/correspondence.cpp
src/distances.cpp
)
SET (SOURCE_FILES_CONSOLE
src/shapemodelvalidation.cpp
${SOURCE_FILES_COMMON}
)
SET (SOURCE_FILES_VSD
src/shapemodelvalidation_vsd.cpp
${SOURCE_FILES_COMMON}
)
include_directories(${statismo_INCLUDE_DIRS})
link_directories( ${ITK_LIBRARY_DIRS} ${statismo_LIBRARY_DIRS})
add_executable (shapemodelValidation ${SOURCE_FILES_CONSOLE})
target_link_libraries (shapemodelValidation ${ITK_LIBRARIES} ${statismo_LIBRARIES})
add_executable (shapemodelValidationVSD ${SOURCE_FILES_VSD})
target_link_libraries (shapemodelValidationVSD ${ITK_LIBRARIES} ${statismo_LIBRARIES})