forked from RTKConsortium/RTK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
itk-module.cmake
50 lines (45 loc) · 951 Bytes
/
itk-module.cmake
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
40
41
42
43
44
45
46
47
48
49
50
set(DOCUMENTATION "")
# -----------------------------------------
# Required Modules to build RTK library :
set(RTK_IO_DEPENDS
ITKIOCSV
ITKIOGDCM
ITKIOMeta
ITKIORAW
ITKIOTIFF
ITKIOXML
)
set(RTK_DEPENDS
ITKCommon
ITKConvolution
ITKFFT
ITKOptimizers
ITKRegistrationCommon
ITKSmoothing
ITKImageNoise
${RTK_IO_DEPENDS}
)
# -----------------------------------------
# Required Modules to build RTK tests :
set(RTK_TEST_DEPENDS
ITKTestKernel)
# # -----------------------------------------
# # CUDA optional dependencies
if(ITK_SOURCE_DIR)
if(${RTK_USE_CUDA})
list(APPEND RTK_DEPENDS ITKCudaCommon)
endif()
endif()
#=========================================================
# Module RTK
#=========================================================
itk_module(RTK
ENABLE_SHARED
EXCLUDE_FROM_DEFAULT
DEPENDS
${RTK_DEPENDS}
TEST_DEPENDS
${RTK_TEST_DEPENDS}
DESCRIPTION
"${DOCUMENTATION}"
)