[Liblas-commits] r1033 - in trunk: . src

liblas-commits at liblas.org liblas-commits at liblas.org
Mon Feb 16 23:49:22 EST 2009


Author: hobu
Date: Mon Feb 16 23:49:22 2009
New Revision: 1033
URL: http://liblas.org/changeset/1033

Log:
update cmake a bit.  We need to be able to set GDAL though

Modified:
   trunk/CMakeLists.txt
   trunk/src/CMakeLists.txt

Modified: trunk/CMakeLists.txt
==============================================================================
--- trunk/CMakeLists.txt	(original)
+++ trunk/CMakeLists.txt	Mon Feb 16 23:49:22 2009
@@ -72,6 +72,15 @@
 	ADD_DEFINITIONS( -D HAVE_LIBGEOTIFF )
 ENDIF (GEOTIFF_FOUND)
 
+# optinal GeoTIFF support
+FIND_PACKAGE(GDAL)
+
+IF (GDAL_FOUND)
+	#TODO: Use to generate config.h
+	#SET (HAVE_GDAL TRUE)
+	ADD_DEFINITIONS( -D HAVE_GDAL )
+ENDIF (GDAL_FOUND)
+
 #############################################################
 # List of directories to process
 

Modified: trunk/src/CMakeLists.txt
==============================================================================
--- trunk/src/CMakeLists.txt	(original)
+++ trunk/src/CMakeLists.txt	Mon Feb 16 23:49:22 2009
@@ -18,6 +18,7 @@
     ../include/liblas/lasrecordheader.hpp
     ../include/liblas/laswriter.hpp
     ../include/liblas/liblas.hpp
+	../include/liblas/lassrs.hpp
 )
 
 SET( LIBLAS_DETAIL_HPP
@@ -27,6 +28,7 @@
     ../include/liblas/detail/reader.hpp
     ../include/liblas/detail/reader10.hpp
     ../include/liblas/detail/reader11.hpp
+	../include/liblas/detail/reader12.hpp
     ../include/liblas/detail/sha1.hpp
     ../include/liblas/detail/sharedptr.hpp
     ../include/liblas/detail/timer.hpp
@@ -34,6 +36,7 @@
     ../include/liblas/detail/writer.hpp
     ../include/liblas/detail/writer10.hpp
     ../include/liblas/detail/writer11.hpp
+	../include/liblas/detail/writer12.hpp
 )
 
 SET( LIBLAS_CPP
@@ -44,15 +47,18 @@
     lasreader.cpp
     laswriter.cpp
     lasfile.cpp
+	lassrs.cpp
 )
 
 SET( LIBLAS_DETAIL_CPP
     detail/reader.cpp
     detail/reader10.cpp
     detail/reader11.cpp
+	detail/reader12.cpp
     detail/writer.cpp
     detail/writer10.cpp
     detail/writer11.cpp
+	detail/writer12.cpp
     detail/file.cpp
 )
 


More information about the Liblas-commits mailing list