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
f486b96c
Commit
f486b96c
authored
10 years ago
by
Guillaume Pasero
Browse files
Options
Downloads
Patches
Plain Diff
ENH: start refactoring of superbuild
parent
61704fed
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Superbuild/CMake/SuperBuild_Macro.cmake
+3
-3
3 additions, 3 deletions
Superbuild/CMake/SuperBuild_Macro.cmake
Superbuild/CMakeLists.txt
+28
-28
28 additions, 28 deletions
Superbuild/CMakeLists.txt
with
31 additions
and
31 deletions
Superbuild/CMake/SuperBuild_Macro.cmake
+
3
−
3
View file @
f486b96c
...
...
@@ -3,10 +3,10 @@ include(CMakeParseArguments)
# Macro SETUP_SYSTEM_LIBRARY : defines USE_SYSTEM_XXX option, initialize
# internal variables
macro
(
SETUP_SYSTEM_LIBRARY
)
cmake_parse_arguments
(
NEW_SYSLIB
""
"PROJECT;D
OC
"
""
${
ARGN
}
)
cmake_parse_arguments
(
NEW_SYSLIB
""
"PROJECT;D
EFAULT
"
""
${
ARGN
}
)
option
(
USE_SYSTEM_
${
NEW_SYSLIB_PROJECT
}
${
NEW_SYSLIB_
DOC
}
${
DEFAULT_USE_SYSTEM_
${
NEW_SYSLIB_
PROJEC
T
}
}
" Use a system build of
${
NEW_SYSLIB_
PROJECT
}
."
${
NEW_SYSLIB_
DEFAUL
T
}
)
mark_as_advanced
(
USE_SYSTEM_
${
NEW_SYSLIB_PROJECT
}
)
set
(
SYSTEM_
${
NEW_SYSLIB_PROJECT
}
_CMAKE_CACHE
)
...
...
This diff is collapsed.
Click to expand it.
Superbuild/CMakeLists.txt
+
28
−
28
View file @
f486b96c
...
...
@@ -19,6 +19,8 @@ option(BUILD_ICE "Clone and build ICE" OFF)
option
(
BUILD_MONTEVERDI2
"Clone and build Monteverdi2"
OFF
)
option
(
BUILD_MONTEVERDI
"Clone and build Monteverdi"
OFF
)
set
(
SB_INSTALL_PREFIX
${
CMAKE_INSTALL_PREFIX
}
)
set
(
SB_BUILD_SHARED_LIBS ON
)
if
(
WIN32
)
...
...
@@ -37,38 +39,36 @@ endif()
# Call external projects
#TODO: enforce check from ITK on directory length
include
(
External_zlib
)
include
(
External_jpeg
)
include
(
External_expat
)
include
(
External_png
)
include
(
External_tiff
)
include
(
External_proj
)
include
(
External_geotiff
)
include
(
External_sqlite
)
include
(
External_geos
)
include
(
External_openjpeg
)
include
(
External_boost
)
include
(
External_libkml
)
include
(
External_curl
)
include
(
External_gdal
)
include
(
External_fftw
)
include
(
External_itk
)
include
(
External_openthreads
)
include
(
External_ossim
)
include
(
External_muparser
)
include
(
External_muparserx
)
include
(
External_tinyxml
)
include
(
External_opencv
)
include
(
External_pcre
)
include
(
External_swig
)
# Setup third parties
SETUP_SYSTEM_LIBRARY
(
PROJECT ZLIB DEFAULT ON
)
SETUP_SYSTEM_LIBRARY
(
PROJECT JPEG DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT EXPAT DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT PNG DEFAULT ON
)
SETUP_SYSTEM_LIBRARY
(
PROJECT TIFF DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT PROJ DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT GEOTIFF DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT SQLITE DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT GEOS DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT OPENJPEG DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT BOOST DEFAULT ON
)
SETUP_SYSTEM_LIBRARY
(
PROJECT LIBKML DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT CURL DEFAULT ON
)
SETUP_SYSTEM_LIBRARY
(
PROJECT GDAL DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT FFTW DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT ITK DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT OPENTHREADS DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT OSSIM DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT MUPARSER DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT MUPARSERX DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT TINYXML DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT OPENCV DEFAULT OFF
)
SETUP_SYSTEM_LIBRARY
(
PROJECT PCRE DEFAULT ON
)
SETUP_SYSTEM_LIBRARY
(
PROJECT SWIG DEFAULT ON
)
if
(
ENABLE_QT4
)
include
(
External_qt4
)
SETUP_SYSTEM_LIBRARY
(
PROJECT QT4 DEFAULT ON
)
endif
()
# TODO
# Call OTB
# set OTB_DATA_ROOT to run test
...
...
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