-
Notifications
You must be signed in to change notification settings - Fork 11
/
CMakeLists.txt
28 lines (23 loc) · 1.46 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
cmake_minimum_required(VERSION 3.13.4)
project(LanguagePacks)
#-----------------------------------------------------------------------------
# Extension meta-information
set(EXTENSION_HOMEPAGE "https://github.com/Slicer/SlicerLanguagePacks")
set(EXTENSION_CATEGORY "Utilities")
set(EXTENSION_CONTRIBUTORS "Andras Lasso (PerkLab)")
set(EXTENSION_DESCRIPTION "Extension for deploying language packs and editing translations.")
# Icon source: https://freesvg.org/united-globe. License: Public Domain.
set(EXTENSION_ICONURL "https://raw.githubusercontent.com/Slicer/SlicerLanguagePacks/main/LanguagePacks.png")
set(EXTENSION_SCREENSHOTURLS "https://raw.githubusercontent.com/Slicer/SlicerLanguagePacks/main/Docs/LanguageSelector.png https://raw.githubusercontent.com/Slicer/SlicerLanguagePacks/main/Docs/ExampleTranslations.png https://raw.githubusercontent.com/Slicer/SlicerLanguagePacks/main/Docs/LanguageTools.png")
set(EXTENSION_DEPENDS "NA") # Specified as a list or "NA" if no dependencies
#-----------------------------------------------------------------------------
# Extension dependencies
find_package(Slicer REQUIRED)
include(${Slicer_USE_FILE})
#-----------------------------------------------------------------------------
# Extension modules
add_subdirectory(LanguageTools)
## NEXT_MODULE
#-----------------------------------------------------------------------------
include(${Slicer_EXTENSION_GENERATE_CONFIG})
include(${Slicer_EXTENSION_CPACK})