kopia lustrzana https://github.com/OpenDroneMap/ODM
29 wiersze
969 B
CMake
29 wiersze
969 B
CMake
set(_proj_name laszip)
|
|
set(_SB_BINARY_DIR "${SB_BINARY_DIR}/${_proj_name}")
|
|
|
|
ExternalProject_Add(${_proj_name}
|
|
DEPENDS
|
|
PREFIX ${_SB_BINARY_DIR}
|
|
TMP_DIR ${_SB_BINARY_DIR}/tmp
|
|
STAMP_DIR ${_SB_BINARY_DIR}/stamp
|
|
#--Download step--------------
|
|
DOWNLOAD_DIR ${SB_DOWNLOAD_DIR}/${_proj_name}
|
|
URL https://github.com/LASzip/LASzip/archive/0069c42307183c49744f1eb170f7032a8cf6a9db.zip
|
|
#--Update/Patch step----------
|
|
UPDATE_COMMAND ""
|
|
#--Configure step-------------
|
|
SOURCE_DIR ${SB_SOURCE_DIR}/${_proj_name}
|
|
CMAKE_ARGS
|
|
-DBUILD_SHARED_LIBS=ON
|
|
-DBUILD_STATIC_LIBS=OFF
|
|
-DCMAKE_INSTALL_PREFIX=${SB_INSTALL_DIR}
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
#--Build step-----------------
|
|
BINARY_DIR ${_SB_BINARY_DIR}
|
|
#--Install step---------------
|
|
INSTALL_DIR ${SB_INSTALL_DIR}
|
|
#--Output logging-------------
|
|
LOG_DOWNLOAD OFF
|
|
LOG_CONFIGURE OFF
|
|
LOG_BUILD OFF
|
|
) |