-
Notifications
You must be signed in to change notification settings - Fork 3
/
hobu-config.bat
38 lines (34 loc) · 1.08 KB
/
hobu-config.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@echo off
set G="NMake Makefiles"
REM set G="Visual Studio 9 2008"
REM set G="Visual Studio 10"
set LIBLAS=D:\liblas-1.6
set OSGEO4W=C:\OSGeo4W
set BOOST=D:\boost\boost_1_44
set ORACLE_HOME=%OSGEO4W%
set LASZIP_ROOT=d:\laszip
REM set BUILD_TYPE=RelWithDebInfo
REM set BUILD_TYPE=Debug
set BUILD_TYPE=Release
set PATH=%OSGEO4W%\bin;%PATH%
cmake -G %G% ^
-DBOOST_INCLUDEDIR=%BOOST% ^
-DWITH_GDAL=ON ^
-DWITH_GEOTIFF=ON ^
-DWITH_ORACLE=ON ^
-DWITH_LASZIP=ON ^
-DTIFF_INCLUDE_DIR=%OSGEO4W%\include ^
-DTIFF_LIBRARY=%OSGEO4W%\lib\libtiff_i.lib ^
-DGEOTIFF_INCLUDE_DIR=%OSGEO4W%\include ^
-DGEOTIFF_LIBRARY=%OSGEO4W%\lib\geotiff_i.lib ^
-DGDAL_INCLUDE_DIR=%OSGEO4W%\include ^
-DGDAL_LIBRARY=%OSGEO4W%\lib\gdal_i.lib ^
-DORACLE_INCLUDE_DIR=%ORACLE_HOME%\include ^
-DORACLE_OCI_LIBRARY=%ORACLE_HOME%\lib\oci.lib ^
-DLASZIP_INCLUDE_DIR=%OSGEO4W%\include ^
-DLASZIP_LIBRARY=%OSGEO4W%\lib\laszip.lib ^
-DCMAKE_BUILD_TYPE=%BUILD_TYPE% ^
-DCMAKE_VERBOSE_MAKEFILE=OFF ^
-DWITH_STATIC_LASZIP=FALSE ^
-DENABLE_CTEST=ON ^
%LIBLAS%