[Liblas-commits] laszip: export the laszip dll items

liblas-commits at liblas.org liblas-commits at liblas.org
Thu Dec 30 12:33:20 EST 2010


details:   http://hg.liblas.orglaszip/rev/799d195fe864
changeset: 99:799d195fe864
user:      Howard Butler <hobu.inc at gmail.com>
date:      Thu Dec 30 11:32:45 2010 -0600
description:
export the laszip dll items
Subject: laszip: add my base config

details:   http://hg.liblas.orglaszip/rev/8fe8b5444dcf
changeset: 100:8fe8b5444dcf
user:      Howard Butler <hobu.inc at gmail.com>
date:      Thu Dec 30 11:32:59 2010 -0600
description:
add my base config

diffstat:

 hobu-config.bat      |  14 ++++++++++++++
 src/CMakeLists.txt   |   4 ++++
 tools/CMakeLists.txt |   4 ++++
 3 files changed, 22 insertions(+), 0 deletions(-)

diffs (46 lines):

diff -r f30dd5b85cdc -r 8fe8b5444dcf hobu-config.bat
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hobu-config.bat	Thu Dec 30 11:32:59 2010 -0600
@@ -0,0 +1,14 @@
+ at echo off
+
+set G="NMake Makefiles"
+REM set G="Visual Studio 9 2008"
+REM set G="Visual Studio 2010"
+set LASZIP=D:\laszip
+REM set BUILD_TYPE=RelWithDebInfo
+REM set BUILD_TYPE=Debug
+set BUILD_TYPE=Release
+    
+cmake -G %G% ^
+    -DCMAKE_BUILD_TYPE=%BUILD_TYPE% ^
+    -DCMAKE_VERBOSE_MAKEFILE=OFF ^
+    %LASZIP%
diff -r f30dd5b85cdc -r 8fe8b5444dcf src/CMakeLists.txt
--- a/src/CMakeLists.txt	Thu Dec 30 10:53:47 2010 -0600
+++ b/src/CMakeLists.txt	Thu Dec 30 11:32:59 2010 -0600
@@ -60,6 +60,10 @@
   ${LASZIP_CPP}
   )
 
+if(WIN32)
+    add_definitions("-DLASZIP_DLL_EXPORT=1")
+endif()
+
 # Group source files for IDE source explorers (e.g. Visual Studio)
 source_group("CMake Files" FILES CMakeLists.txt)
 source_group("Header Files" FILES ${LASZIP_HPP})
diff -r f30dd5b85cdc -r 8fe8b5444dcf tools/CMakeLists.txt
--- a/tools/CMakeLists.txt	Thu Dec 30 10:53:47 2010 -0600
+++ b/tools/CMakeLists.txt	Thu Dec 30 11:32:59 2010 -0600
@@ -25,6 +25,10 @@
     ${LASZIP} ${LASDIFF} ${LASZIPPERTEST}
     )
     
+if(WIN32)
+    add_definitions("-DLASZIP_DLL_EXPORT=1")
+endif()
+
 
 # TODO: Experimental and requires testing --mloskot
 # Generate user-specific settings for Visual Studio project


More information about the Liblas-commits mailing list