kopia lustrzana https://github.com/OpenDroneMap/ODM
36 wiersze
1.1 KiB
CMake
36 wiersze
1.1 KiB
CMake
set(_proj_name entwine)
|
|
set(_SB_BINARY_DIR "${SB_BINARY_DIR}/${_proj_name}")
|
|
|
|
if (NOT WIN32)
|
|
set(EXTRA_CMAKE_ARGS -DCMAKE_CXX_FLAGS=-isystem\ ${SB_SOURCE_DIR}/pdal)
|
|
endif()
|
|
|
|
ExternalProject_Add(${_proj_name}
|
|
DEPENDS pdal
|
|
PREFIX ${_SB_BINARY_DIR}
|
|
TMP_DIR ${_SB_BINARY_DIR}/tmp
|
|
STAMP_DIR ${_SB_BINARY_DIR}/stamp
|
|
#--Download step--------------
|
|
DOWNLOAD_DIR ${SB_DOWNLOAD_DIR}
|
|
GIT_REPOSITORY https://github.com/OpenDroneMap/entwine/
|
|
GIT_TAG 290
|
|
#--Update/Patch step----------
|
|
UPDATE_COMMAND ""
|
|
#--Configure step-------------
|
|
SOURCE_DIR ${SB_SOURCE_DIR}/${_proj_name}
|
|
CMAKE_ARGS
|
|
${EXTRA_CMAKE_ARGS}
|
|
-DADDITIONAL_LINK_DIRECTORIES_PATHS=${SB_INSTALL_DIR}/lib
|
|
-DWITH_TESTS=OFF
|
|
-DWITH_ZSTD=OFF
|
|
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
|
|
-DCMAKE_INSTALL_PREFIX:PATH=${SB_INSTALL_DIR}
|
|
#--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
|
|
) |