[Liblas-commits] hg: add a .bat file for running cmake on my environment, others ...

liblas-commits at liblas.org liblas-commits at liblas.org
Thu Aug 26 21:32:52 EDT 2010


changeset 13fbb7708583 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=13fbb7708583
summary: add a .bat file for running cmake on my environment, others may find this useful, bit it will not be distributed by default

diffstat:

 CMakeLists.txt  |   1 +
 hobu-config.bat |  24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+), 0 deletions(-)

diffs (40 lines):

diff -r fce71d924aa0 -r 13fbb7708583 CMakeLists.txt
--- a/CMakeLists.txt	Thu Aug 26 20:28:16 2010 -0500
+++ b/CMakeLists.txt	Thu Aug 26 20:32:48 2010 -0500
@@ -318,6 +318,7 @@
 
 list(APPEND CPACK_SOURCE_IGNORE_FILES "CPackConfig.cmake")
 list(APPEND CPACK_SOURCE_IGNORE_FILES "schemas")
+list(APPEND CPACK_SOURCE_IGNORE_FILES "hobu-config.bat")
 
 
 include(CPack)
diff -r fce71d924aa0 -r 13fbb7708583 hobu-config.bat
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hobu-config.bat	Thu Aug 26 20:32:48 2010 -0500
@@ -0,0 +1,24 @@
+ at echo off
+
+set G="NMake Makefiles"
+set LIBLAS=D:\liblas
+set OSGEO4W=C:\OSGeo4W
+set BOOST=D:\boost\boost_1_44
+set ORACLE_HOME=D:\instantclient_11_1
+
+set PATH=%ORACLE_HOME%;%OSGEO4W%\apps\gdal-dev\bin;%OSGEO4W%\bin;%PATH%
+
+cmake -G %G% ^
+    -DBOOST_INCLUDEDIR=%BOOST% ^
+    -DWITH_GDAL=ON ^
+    -DWITH_GEOTIFF=ON ^
+    -DWITH_ORACLE=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%\apps\gdal-dev\include ^
+    -DGDAL_LIBRARY=%OSGEO4W%\apps\gdal-dev\lib\gdal_i.lib ^
+    -DORACLE_INCLUDE_DIR=%ORACLE_HOME%\sdk\include ^
+    -DORACLE_OCI_LIBRARY=%ORACLE_HOME%\sdk\lib\msvc\oci.lib ^
+    %LIBLAS%
\ No newline at end of file


More information about the Liblas-commits mailing list