-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCMakeLists.txt
31 lines (24 loc) · 1.56 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
cmake_minimum_required(VERSION 3.16.3...3.19.7 FATAL_ERROR)
project(NNUNet)
#-----------------------------------------------------------------------------
# Extension meta-information
set(EXTENSION_HOMEPAGE "https://github.com/KitwareMedical/SlicerNNUnet")
set(EXTENSION_CATEGORY "Segmentation")
set(EXTENSION_CONTRIBUTORS "Thibault Pelletier (Kitware SAS)")
set(EXTENSION_DESCRIPTION "This extension is meant to streamline the integration of nnUnet based models into 3D Slicer.
It allows for quick and relable nnUNet dependency installation in 3D Slicer environment and provides simple logic to launch nnUNet prediction on given directories.
The installation steps are based on the work done in the SlicerTotalSegmentator exension (https://github.com/lassoan/SlicerTotalSegmentator)")
set(EXTENSION_ICONURL "https://github.com/KitwareMedical/SlicerNNUnet/raw/main/SlicerNNUnet/Resources/Icons/SlicerNNUnet.png")
set(EXTENSION_SCREENSHOTURLS "https://github.com/KitwareMedical/SlicerNNUnet/raw/main/Screenshots/1.png")
set(EXTENSION_DEPENDS "PyTorch SlicerPythonTestRunner") # Specified as a list or "NA" if no dependencies
#-----------------------------------------------------------------------------
# Extension dependencies
find_package(Slicer REQUIRED)
include(${Slicer_USE_FILE})
#-----------------------------------------------------------------------------
# Extension modules
add_subdirectory(SlicerNNUnet)
## NEXT_MODULE
#-----------------------------------------------------------------------------
include(${Slicer_EXTENSION_GENERATE_CONFIG})
include(${Slicer_EXTENSION_CPACK})