-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathotb-module.cmake
More file actions
28 lines (26 loc) · 933 Bytes
/
otb-module.cmake
File metadata and controls
28 lines (26 loc) · 933 Bytes
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
set(DOCUMENTATION "OTB module template.")
# otb_module() defines the module dependencies of ExternalTemplate.
# ExternalTemplate depends on:
# - OTBCommon (base dependency of all modules)
# - OTBApplicationEngine (because we build an application in the module, see 'app' folder)
#
# The tests of module ExternalTemplate drag additional dependencies:
# - OTBTestKernel (needed for any test driver)
# - OTBCommandLine (needed to run tests on applications)
# - OTBSWIG (needed to run tests with Python bindings)
#
# The option ENABLE_SHARED is needed because this module creates a shared
# library. It generates a header with usefull export macros
# (ExternalTemplateExport.h), so that other binaries can link to this library.
otb_module(ExternalTemplate
ENABLE_SHARED
DEPENDS
OTBCommon
OTBApplicationEngine
TEST_DEPENDS
OTBTestKernel
OTBCommandLine
OTBSWIG
DESCRIPTION
"${DOCUMENTATION}"
)