forked from RTKConsortium/RTK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
itk-module.cmake
65 lines (59 loc) · 1.16 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
set(DOCUMENTATION "")
# -----------------------------------------
# Required Modules to build RTK library :
set(RTK_IO_DEPENDS
ITKIOCSV
ITKIOGDCM
ITKGDCM
ITKIOMeta
ITKIORAW
ITKIOTIFF
ITKIOXML
)
if(ITK_WRAP_PYTHON)
set(RTK_BRIDGE_DEPENDS
ITKBridgeNumPy
)
endif()
set(RTK_DEPENDS
ITKCommon
ITKConvolution
ITKFFT
ITKOptimizers
ITKRegistrationCommon
ITKSmoothing
ITKImageNoise
${RTK_IO_DEPENDS}
${RTK_BRIDGE_DEPENDS}
)
# -----------------------------------------
# Required Modules to build RTK tests :
set(RTK_TEST_DEPENDS
ITKTestKernel)
# # -----------------------------------------
# # CUDA optional dependencies
if(${RTK_USE_CUDA})
list(APPEND RTK_DEPENDS CudaCommon)
endif()
#=========================================================
# Module RTK
#=========================================================
itk_module(RTK
ENABLE_SHARED
EXCLUDE_FROM_DEFAULT
DEPENDS
${RTK_DEPENDS}
TEST_DEPENDS
${RTK_TEST_DEPENDS}
FACTORY_NAMES
ImageIO::DCMImagX
ImageIO::His
ImageIO::Hnc
ImageIO::Hnd
ImageIO::ImagX
ImageIO::Ora
ImageIO::Xim
ImageIO::XRad
DESCRIPTION
"${DOCUMENTATION}"
)