Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main Repositories
otb
Commits
a97a0b74
Commit
a97a0b74
authored
8 years ago
by
Guillaume Pasero
Browse files
Options
Downloads
Patches
Plain Diff
DOC: install copyrights and license in output SuperBuild package
parent
2a35299f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SuperBuild/CMake/External_otb.cmake
+5
-0
5 additions, 0 deletions
SuperBuild/CMake/External_otb.cmake
SuperBuild/CMake/PackageHelper.cmake
+19
-0
19 additions, 0 deletions
SuperBuild/CMake/PackageHelper.cmake
with
24 additions
and
0 deletions
SuperBuild/CMake/External_otb.cmake
+
5
−
0
View file @
a97a0b74
...
@@ -191,6 +191,11 @@ ExternalProject_Add(OTB
...
@@ -191,6 +191,11 @@ ExternalProject_Add(OTB
CMAKE_COMMAND
${
OTB_SB_CMAKE_COMMAND
}
CMAKE_COMMAND
${
OTB_SB_CMAKE_COMMAND
}
)
)
ExternalProject_Add_Step
(
OTB install_copyright
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
OTB_SB_SRC
}
/Copyright
${
CMAKE_INSTALL_PREFIX
}
/share/copyright
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
CMAKE_SOURCE_DIR
}
/Copyright
${
CMAKE_INSTALL_PREFIX
}
/share/copyright
DEPENDEES install
)
# detect OTB version number
# detect OTB version number
if
(
SUPERBUILD_OTB_VERSION
)
if
(
SUPERBUILD_OTB_VERSION
)
set
(
_SB_OTB_DIR
${
SB_INSTALL_PREFIX
}
/lib/cmake/OTB-
${
SUPERBUILD_OTB_VERSION_MAJOR
}
.
${
SUPERBUILD_OTB_VERSION_MINOR
}
)
set
(
_SB_OTB_DIR
${
SB_INSTALL_PREFIX
}
/lib/cmake/OTB-
${
SUPERBUILD_OTB_VERSION_MAJOR
}
.
${
SUPERBUILD_OTB_VERSION_MINOR
}
)
...
...
This diff is collapsed.
Click to expand it.
SuperBuild/CMake/PackageHelper.cmake
+
19
−
0
View file @
a97a0b74
...
@@ -207,6 +207,25 @@ function(install_common include_mvd)
...
@@ -207,6 +207,25 @@ function(install_common include_mvd)
####################### Install otb applications ######################
####################### Install otb applications ######################
install
(
DIRECTORY
"
${
OTB_APPLICATIONS_DIR
}
"
DESTINATION
${
PKG_OTBLIBS_DIR
}
)
install
(
DIRECTORY
"
${
OTB_APPLICATIONS_DIR
}
"
DESTINATION
${
PKG_OTBLIBS_DIR
}
)
####################### Install copyrights ######################
install
(
DIRECTORY
${
PKG_SHARE_SOURCE_DIR
}
/copyright DESTINATION
${
PKG_SHARE_DEST_DIR
}
)
file
(
WRITE
"
${
PKG_STAGE_DIR
}
/Copyright.txt"
"The OTB is released under the CeCILL-2.0 license. This license is available
online :
http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
http://www.cecill.info/licences/Licence_CeCILL_V2-fr.html
More details on copyright information can be found in :
share/copyright
However this binary package may be compiled with dependencies that have
incompatible licensing. As a consequence, this OTB binary package will be
released under GPL-v2 license in the following cases :
- if ITK (used by OTB) was built with FFTW support enabled (FFTW is released
under GPL-v2 license)
- if this package was built using FreeType. FreeType allows to choose between
the advertising FreeType license and the GPL-v2 license.
"
)
endfunction
()
endfunction
()
function
(
install_monteverdi_files
)
function
(
install_monteverdi_files
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment