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
Sébastien Peillet
otb
Commits
171bfba8
Commit
171bfba8
authored
8 years ago
by
Stéphane Albert
Browse files
Options
Downloads
Plain Diff
MRG: Merged from origin/develop.
parents
1208971a
022abdfc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+13
-0
13 additions, 0 deletions
CMakeLists.txt
with
13 additions
and
0 deletions
CMakeLists.txt
+
13
−
0
View file @
171bfba8
...
...
@@ -386,6 +386,7 @@ endif()
# Create target to download data from the OTBData group. This must come after
# all tests have been added that reference the group, so we put it last.
#-----------------------------------------------------------------------------
# uninstall target
configure_file
(
"
${
CMAKE_SOURCE_DIR
}
/CMake/cmake_uninstall.cmake.in"
...
...
@@ -395,6 +396,18 @@ configure_file(
add_custom_target
(
uninstall
COMMAND
${
CMAKE_COMMAND
}
-P
${
CMAKE_BINARY_DIR
}
/cmake_uninstall.cmake
)
#-----------------------------------------------------------------------------
# Packaging options for Windows packages
if
(
WIN32 OR CMAKE_CROSSCOMPILING
)
option
(
GENERATE_PACKAGE
"Generate OTB package"
OFF
)
option
(
GENERATE_XDK
"Generate XDK for OTB development"
OFF
)
if
(
GENERATE_PACKAGE OR GENERATE_XDK
)
set
(
MXE_TARGET_DIR
""
CACHE PATH
"path to mxe directory"
)
add_subdirectory
(
${
OTB_SOURCE_DIR
}
/SuperBuild/Packaging
${
CMAKE_BINARY_DIR
}
/Packaging
)
endif
()
# (GENERATE_PACKAGE OR GENERATE_XDK)
endif
()
# (WIN32 OR CMAKE_CROSSCOMPILING)
#-----------------------------------------------------------------------------
#macro to put a fixed space between key, value in summary
macro
(
get_white_spaces var res
)
string
(
LENGTH
"
${
var
}
"
len
)
...
...
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