-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
31 lines (24 loc) · 1015 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
cmake_minimum_required(VERSION 2.6)
project( AnalyzeImages )
FIND_PACKAGE(ITK)
FIND_PACKAGE(VTK)
IF(ITK_FOUND)
INCLUDE(${ITK_USE_FILE})
ELSE(ITK_FOUND)
MESSAGE(FATAL_ERROR
"ITK not found. Please set ITK_DIR.")
ENDIF(ITK_FOUND)
IF(VTK_FOUND)
INCLUDE(${VTK_USE_FILE})
ELSE(VTK_FOUND)
MESSAGE(FATAL_ERROR
"VTK not found. Please set VTK_DIR.")
ENDIF(VTK_FOUND)
ADD_LIBRARY( DIC DIC.cxx )
ADD_LIBRARY( DICMesh DICMesh.cxx )
ADD_LIBRARY( AnalyzeDVC AnalyzeDVC.cxx )
ADD_EXECUTABLE( AnalyzeImages AnalyzeImages.cxx)
#ADD_EXECUTABLE( TestAlgorithm TestAlgorithm.cxx)
TARGET_LINK_LIBRARIES( AnalyzeImages AnalyzeDVC DIC DICMesh ITKCommon ITKIO ITKAlgorithms ITKBasicFilters ITKNumerics ITKSpatialObject vtkHybrid )
#TARGET_LINK_LIBRARIES( AnalyzeImages DIC DICMesh ITKCommon ITKIO ITKAlgorithms ITKBasicFilters ITKNumerics ITKSpatialObject vtkHybrid )
#TARGET_LINK_LIBRARIES( TestAlgorithm DIC DICMesh ITKCommon ITKIO ITKAlgorithms ITKBasicFilters ITKNumerics ITKSpatialObject vtkHybrid )