-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
27 lines (23 loc) · 1.19 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
cmake_minimum_required(VERSION 2.8.9)
#-----------------------------------------------------------------------------
if(NOT Slicer_SOURCE_DIR)
set(EXTENSION_NAME DiceComputation)
set(EXTENSION_HOMEPAGE "http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/DiceComputation")
set(EXTENSION_CATEGORY "Quantification")
set(EXTENSION_CONTRIBUTORS "Laurent Chauvin (BWH), Sonia Pujol (BWH)")
set(EXTENSION_DESCRIPTION "Compute Dice's Similarity Coefficient (DSC) for several registered label map images.")
set(EXTENSION_ICONURL "http://wiki.slicer.org/slicerWiki/images/7/79/DiceSimilarityCoefficient.png")
set(EXTENSION_SCREENSHOTURLS "http://www.slicer.org/slicerWiki/images/1/1d/Slicer4-DiceComputation-GUI.png")
endif()
#-----------------------------------------------------------------------------
if(NOT Slicer_SOURCE_DIR)
find_package(Slicer REQUIRED)
include(${Slicer_USE_FILE})
endif()
#-----------------------------------------------------------------------------
# Add below your modules
add_subdirectory(DiceComputation)
#-----------------------------------------------------------------------------
if(NOT Slicer_SOURCE_DIR)
include(${Slicer_EXTENSION_CPACK})
endif()