[otb] 05/05: add required cmake files for OTB6S
Rashad Kanavath
rashad-guest at moszumanska.debian.org
Fri Aug 28 10:18:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
rashad-guest pushed a commit to branch master
in repository otb.
commit a87438c2ccd301ad6c341c8442fc16d3193e6e73
Author: Rashad Kanavath <rashad.kanavath at c-s.fr>
Date: Fri Aug 28 12:18:24 2015 +0200
add required cmake files for OTB6S
---
Modules/ThirdParty/6S/CMakeLists.txt | 7 +++++++
Modules/ThirdParty/6S/otb-module.cmake | 12 ++++++++++++
2 files changed, 19 insertions(+)
diff --git a/Modules/ThirdParty/6S/CMakeLists.txt b/Modules/ThirdParty/6S/CMakeLists.txt
new file mode 100644
index 0000000..ec2b468
--- /dev/null
+++ b/Modules/ThirdParty/6S/CMakeLists.txt
@@ -0,0 +1,7 @@
+project(OTB6S)
+set(OTB6S_THIRD_PARTY 1)
+
+set(OTB6S_LIBRARIES otb6S)
+set(OTB6S_INCLUDE_DIRS ${OTB6S_SOURCE_DIR}/src)
+
+otb_module_impl()
diff --git a/Modules/ThirdParty/6S/otb-module.cmake b/Modules/ThirdParty/6S/otb-module.cmake
new file mode 100644
index 0000000..2725710
--- /dev/null
+++ b/Modules/ThirdParty/6S/otb-module.cmake
@@ -0,0 +1,12 @@
+set(DOCUMENTATION "This module imports 6S to the build system")
+
+otb_module(OTB6S
+ DEPENDS
+
+ TEST_DEPENDS
+
+ DESCRIPTION
+ "${DOCUMENTATION}"
+ )
+
+otb_module_activation_option("Enable 6S radiometric and atmospheric correction module" ON)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/otb.git
More information about the Pkg-grass-devel
mailing list