CMakeLists.txt 901 Bytes
Newer Older
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
PROJECT(liblas)

SET(liblas_VERSION_MAJOR "1")
SET(liblas_VERSION_MINOR "0")
SET(liblas_VERSION_PATCH "0")

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include/liblas)

SET(liblas_SOURCES_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
SET(liblas_SOURCES 
  ${liblas_SOURCES_DIR}/las_c_api.cpp
  ${liblas_SOURCES_DIR}/lasfile.cpp
  ${liblas_SOURCES_DIR}/laspoint.cpp
  ${liblas_SOURCES_DIR}/lasrecordheader.cpp
  ${liblas_SOURCES_DIR}/laserror.cpp
  ${liblas_SOURCES_DIR}/lasheader.cpp
  ${liblas_SOURCES_DIR}/lasreader.cpp
  ${liblas_SOURCES_DIR}/laswriter.cpp
  ${liblas_SOURCES_DIR}/detail/file.cpp
  ${liblas_SOURCES_DIR}/detail/reader10.cpp
  ${liblas_SOURCES_DIR}/detail/reader11.cpp
  ${liblas_SOURCES_DIR}/detail/reader.cpp
  ${liblas_SOURCES_DIR}/detail/writer10.cpp
  ${liblas_SOURCES_DIR}/detail/writer11.cpp
  ${liblas_SOURCES_DIR}/detail/writer.cpp
)

ADD_LIBRARY(otbliblas ${liblas_SOURCES} )