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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Julien Osman
otb
Commits
2071cb02
Commit
2071cb02
authored
7 years ago
by
Rashad Kanavath
Browse files
Options
Downloads
Patches
Plain Diff
SuperBuild: GDAL: use existing SB_INSTALL_PREFIX_NATIVE
parent
76fe9f92
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_gdal.cmake
+0
-2
0 additions, 2 deletions
SuperBuild/CMake/External_gdal.cmake
SuperBuild/patches/GDAL/nmake_gdal_extra.opt.in
+22
-18
22 additions, 18 deletions
SuperBuild/patches/GDAL/nmake_gdal_extra.opt.in
with
22 additions
and
20 deletions
SuperBuild/CMake/External_gdal.cmake
+
0
−
2
View file @
2071cb02
...
...
@@ -107,8 +107,6 @@ if(UNIX)
#set(GDAL_INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} install)
else
(
MSVC
)
STRING
(
REGEX REPLACE
"/$"
""
CMAKE_WIN_INSTALL_PREFIX
${
SB_INSTALL_PREFIX
}
)
STRING
(
REGEX REPLACE
"/"
"
\\\\
"
CMAKE_WIN_INSTALL_PREFIX
${
CMAKE_WIN_INSTALL_PREFIX
}
)
configure_file
(
${
CMAKE_SOURCE_DIR
}
/patches/GDAL/nmake_gdal_extra.opt.in
${
CMAKE_BINARY_DIR
}
/nmake_gdal_extra.opt
)
...
...
This diff is collapsed.
Click to expand it.
SuperBuild/patches/GDAL/nmake_gdal_extra.opt.in
+
22
−
18
View file @
2071cb02
...
...
@@ -11,51 +11,51 @@ JPEG_SUPPORTED = 1
# This will enable 12bit libjpeg - use only with internal jpeg builds.
#JPEG12_SUPPORTED = 1
GDAL_HOME="@
CMAKE_WIN
_INSTALL_PREFIX@"
GDAL_HOME="@
SB
_INSTALL_PREFIX
_NATIVE
@"
#if using an external jpeg library uncomment the follwing lines
JPEG_EXTERNAL_LIB = 1
JPEGDIR = @
CMAKE_WIN
_INSTALL_PREFIX@\include
JPEG_LIB = @
CMAKE_WIN
_INSTALL_PREFIX@\lib\jpeg.lib
JPEGDIR = @
SB
_INSTALL_PREFIX
_NATIVE
@\include
JPEG_LIB = @
SB
_INSTALL_PREFIX
_NATIVE
@\lib\jpeg.lib
#if using an external png library uncomment the follwing lines
PNG_EXTERNAL_LIB = 1
PNGDIR = @
CMAKE_WIN
_INSTALL_PREFIX@\include
PNG_LIB = @
CMAKE_WIN
_INSTALL_PREFIX@\lib\libpng.lib
PNGDIR = @
SB
_INSTALL_PREFIX
_NATIVE
@\include
PNG_LIB = @
SB
_INSTALL_PREFIX
_NATIVE
@\lib\libpng.lib
# if using an external libtiff library
TIFF_INC = -I@
CMAKE_WIN
_INSTALL_PREFIX@\include
TIFF_LIB = @
CMAKE_WIN
_INSTALL_PREFIX@\lib\tiff.lib
TIFF_INC = -I@
SB
_INSTALL_PREFIX
_NATIVE
@\include
TIFF_LIB = @
SB
_INSTALL_PREFIX
_NATIVE
@\lib\tiff.lib
# uncomment following line, if you have libtiff version >= 4.0 to enable BigTIFF support
TIFF_OPTS= -DBIGTIFF_SUPPORT
# if using an external libgeotiff library
GEOTIFF_INC = -I@
CMAKE_WIN
_INSTALL_PREFIX@\include
GEOTIFF_LIB = @
CMAKE_WIN
_INSTALL_PREFIX@\lib\geotiff_i.lib
GEOTIFF_INC = -I@
SB
_INSTALL_PREFIX
_NATIVE
@\include
GEOTIFF_LIB = @
SB
_INSTALL_PREFIX
_NATIVE
@\lib\geotiff_i.lib
EXPAT_DIR = @
CMAKE_WIN
_INSTALL_PREFIX@
EXPAT_DIR = @
SB
_INSTALL_PREFIX
_NATIVE
@
EXPAT_INCLUDE = -I$(EXPAT_DIR)\include
EXPAT_LIB = $(EXPAT_DIR)\lib\expat.lib
# SQLite Libraries
SQLITE_INC=-I@
CMAKE_WIN
_INSTALL_PREFIX@\include
SQLITE_LIB=@
CMAKE_WIN
_INSTALL_PREFIX@\lib\sqlite3.lib
SQLITE_INC=-I@
SB
_INSTALL_PREFIX
_NATIVE
@\include
SQLITE_LIB=@
SB
_INSTALL_PREFIX
_NATIVE
@\lib\sqlite3.lib
# Uncomment following line if libsqlite3 has been compiled with SQLITE_HAS_COLUMN_METADATA=yes
SQLITE_HAS_COLUMN_METADATA=yes
# PROJ.4 stuff
PROJ_INCLUDE = -I@
CMAKE_WIN
_INSTALL_PREFIX@\include
PROJ_LIBRARY = @
CMAKE_WIN
_INSTALL_PREFIX@\lib\proj_4_9.lib
PROJ_INCLUDE = -I@
SB
_INSTALL_PREFIX
_NATIVE
@\include
PROJ_LIBRARY = @
SB
_INSTALL_PREFIX
_NATIVE
@\lib\proj_4_9.lib
# Uncomment to use libcurl (DLL by default)
# The cURL library is used for WCS, WMS, GeoJSON, SRS call importFromUrl(), WFS, GFT, CouchDB, /vsicurl/ etc.
CURL_DIR=@
CMAKE_WIN
_INSTALL_PREFIX@
CURL_DIR=@
SB
_INSTALL_PREFIX
_NATIVE
@
CURL_INC = -I$(CURL_DIR)\include
# Uncoment following line to use libcurl as dynamic library
CURL_LIB = $(CURL_DIR)\lib\libcurl_imp.lib wsock32.lib wldap32.lib winmm.lib
# Uncomment for GEOS support (GEOS >= 3.1.0 required)
GEOS_DIR=@
CMAKE_WIN
_INSTALL_PREFIX@
GEOS_DIR=@
SB
_INSTALL_PREFIX
_NATIVE
@
GEOS_CFLAGS = -I$(GEOS_DIR)\include -I$(GEOS_DIR)\include\geos -DHAVE_GEOS
GEOS_LIB = $(GEOS_DIR)\lib\geos.lib $(GEOS_DIR)\lib\geos_c.lib
...
...
@@ -63,8 +63,8 @@ GEOS_LIB = $(GEOS_DIR)\lib\geos.lib $(GEOS_DIR)\lib\geos_c.lib
HAVE_OPENJPEG = YES
OPENJPEG_ENABLED = YES
OPENJPEG_VERSION = 20100
OPENJPEG_CFLAGS = -I@
CMAKE_WIN
_INSTALL_PREFIX@\include
OPENJPEG_LIB = @
CMAKE_WIN
_INSTALL_PREFIX@\lib\openjp2.lib
OPENJPEG_CFLAGS = -I@
SB
_INSTALL_PREFIX
_NATIVE
@\include
OPENJPEG_LIB = @
SB
_INSTALL_PREFIX
_NATIVE
@\lib\openjp2.lib
##################################################################
...
...
@@ -86,6 +86,10 @@ OPENJPEG_LIB = @CMAKE_WIN_INSTALL_PREFIX@\lib\openjp2.lib
# $(LIBKML_DIR)/third_party\zlib-1.2.3.win32/lib/minizip.lib \
# $(LIBKML_DIR)/third_party\zlib-1.2.3.win32/lib/zlib.lib
#we use external zlib on windows
ZLIB_EXTERNAL_LIB = 1
ZLIB_INC = -I@SB_INSTALL_PREFIX_NATIVE@\include
ZLIB_LIB = @SB_INSTALL_PREFIX_NATIVE@\lib\zlib.lib
# Uncomment the following and update to enable NCSA HDF Release 4 support.
#HDF4_PLUGIN = NO
...
...
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