forked from MokaCreativeLLC/XNATSlicer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
executable file
·26 lines (22 loc) · 1.27 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
cmake_minimum_required(VERSION 2.8.9)
#-----------------------------------------------------------------------------
if(NOT Slicer_SOURCE_DIR)
set(EXTENSION_NAME XNATSlicer)
set(EXTENSION_HOMEPAGE "http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/XNATSlicer")
set(EXTENSION_CATEGORY "Remote")
set(EXTENSION_CONTRIBUTORS "Sunil Kumar (Moka Creative LLC, Washington University in St. Louis), Dan Marcus (Washington University in St. Louis), Steve Pieper (Isomics)")
set(EXTENSION_DESCRIPTION "Secure GUI-based IO with any XNAT server.")
set(EXTENSION_ICONURL "https://raw.github.com/MokaCreativeLLC/XNATSlicer/master/XNATSlicer/Resources/Icons/XNATSlicer-MarketIcon.png")
set(EXTENSION_SCREENSHOTURLS "https://raw.github.com/MokaCreativeLLC/XNATSlicer/master/XNATSlicer/Resources/Images/UserDesc_MainPanel.png")
endif()
#-----------------------------------------------------------------------------
if(NOT Slicer_SOURCE_DIR)
find_package(Slicer REQUIRED)
include(${Slicer_USE_FILE})
endif()
#-----------------------------------------------------------------------------
add_subdirectory(XNATSlicer)
#-----------------------------------------------------------------------------
if(NOT Slicer_SOURCE_DIR)
include(${Slicer_EXTENSION_CPACK})
endif()