forked from InsightSoftwareConsortium/ITKVtkGlue
/
itk-module.cmake
30 lines (28 loc) · 987 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
# 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)
# define the dependencies of the include module and the tests
itk_module(ITKVtkGlue
ENABLE_SHARED
DEPENDS
ITKCommon
ITKVTK
ITKLevelSetsv4
COMPILE_DEPENDS
ITKSpatialObjects
ITKImageIntensity
TEST_DEPENDS
ITKTestKernel
ITKSmoothing
ITKLabelMap
ITKImageFusion
ITKStatistics
ITKIOMeshVTK
EXCLUDE_FROM_DEFAULT
DESCRIPTION
"${DOCUMENTATION}")
# extra test dependency on Smoothing is introduced by itkVtkMedianImagefilterTest.
# extra test dependency on ImageCompose is introduced by QuickViewTest.
# extra test dependency on LabelMap and ImageFusion is introduced by itkVtkConnectedComponentImageFilterTest
# extra test dependency on Statistics is introduced by itkVtkConnectedComponentImageFilterTest