-
Notifications
You must be signed in to change notification settings - Fork 2
/
itk-module.cmake
38 lines (36 loc) · 997 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
# the top-level README is used for describing this module, just
# re-used it for documentation here
get_filename_component(MY_CURRENT_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
file(READ "${MY_CURRENT_DIR}/README.rst" DOCUMENTATION)
# itk_module() defines the module dependencies in NDReg
# NDReg depends on ITKCommon
# The testing module in NDReg depends on ITKTestKernel
# and ITKMetaIO(besides NDReg and ITKCore)
# By convention those modules outside of ITK are not prefixed with
# ITK.
# define the dependencies of the include module and the tests
itk_module(NDReg
DEPENDS
ITKCommon
ITKStatistics
COMPILE_DEPENDS
ITKCommon
ITKDisplacementField
ITKFFT
ITKImageCompose
ITKImageFunction
ITKImageGradient
ITKImageIntensity
ITKImageSources
ITKImageStatistics
ITKMetricsv4
ITKRegistrationMethodsv4
ITKSpatialObjects
TEST_DEPENDS
ITKTestKernel
ITKMetaIO
DESCRIPTION
"${DOCUMENTATION}"
EXCLUDE_FROM_DEFAULT
ENABLE_SHARED
)