forked from lassoan/SlicerSegmentEditorExtraEffects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
45 lines (40 loc) · 2.09 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
cmake_minimum_required(VERSION 3.5)
project(SegmentEditorExtraEffects)
#-----------------------------------------------------------------------------
# Extension meta-information
set(EXTENSION_HOMEPAGE "https://github.com/lassoan/SlicerSegmentEditorExtraEffects")
set(EXTENSION_CATEGORY "Segmentation")
set(EXTENSION_CONTRIBUTORS "Andras Lasso (PerkLab, Queen's), Kyle MacNeil (Med-i Lab, Queen's; SPL, BWH), Andrey Fedorov (SPL, BWH)")
set(EXTENSION_DESCRIPTION "Experimental effects for Segment Editor")
set(EXTENSION_ICONURL "https://raw.githubusercontent.com/lassoan/SlicerSegmentEditorExtraEffects/master/SegmentEditorExtraEffects.png")
set(EXTENSION_SCREENSHOTURLS "\
https://raw.githubusercontent.com/lassoan/SlicerSegmentEditorExtraEffects/master/FastMarchingInput.png \
https://raw.githubusercontent.com/lassoan/SlicerSegmentEditorExtraEffects/master/FastMarchingOutput.png \
https://raw.githubusercontent.com/lassoan/SlicerSegmentEditorExtraEffects/master/WatershedOutput.png \
")
set(EXTENSION_DEPENDS "MarkupsToModel") # Specified as a space separated string, a list or 'NA' if any
#-----------------------------------------------------------------------------
# Extension dependencies
find_package(Slicer REQUIRED)
include(${Slicer_USE_FILE})
#-----------------------------------------------------------------------------
# Extension modules
add_subdirectory(SegmentEditorFastMarching)
add_subdirectory(SegmentEditorFloodFilling)
add_subdirectory(SegmentEditorMaskVolume)
add_subdirectory(SegmentEditorSurfaceCut)
add_subdirectory(SegmentEditorWatershed)
add_subdirectory(SegmentEditorDrawTube)
add_subdirectory(SegmentEditorSplitVolume)
add_subdirectory(SegmentEditorLocalThreshold)
IF (Slicer_VERSION VERSION_LESS 4.9)
# Slicer 4.9 and above has Hollow effect built in
add_subdirectory(SegmentEditorHollow)
ENDIF()
IF (Slicer_VERSION VERSION_GREATER_EQUAL 4.11)
# Requires Slicer-4.11 or above
add_subdirectory(SegmentEditorEngrave)
ENDIF()
## NEXT_MODULE
#-----------------------------------------------------------------------------
include(${Slicer_EXTENSION_CPACK})