mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 06:39:00 +08:00
46dda5372b
* Switch stuff to Qt6 * give opencv4 the correct deps * add Qt5Compat to find_dependency * refine vtk deps and promote targets to global * fix dep * ci is probably faster than my desktop pc building. * remove invalid patch part * add qt6 patch * second patch * make openimageio ignore qt5 * [skip actions] qt6 part 3 * vtk qt6 patch * try openimageio again * move gl include * fix patch * does it work now? * remove qualified name * more qt6 fixes * more patches * update and fix rtabmap * gles feature in qtbase needs to be disabled for vtk since vtk assumes desktop opengl * remove patch add error if qtbase was build with gles2 * disable also second patch * fix theia * paraview consolidate patches * fix case issue * fix missing , * add more qt6 changes * remove unnecessary patches * bump port version * remove comments from vtk * add platform features for tools. * fix format * bump ports * another one to bump * v db Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
103 lines
2.7 KiB
CMake
103 lines
2.7 KiB
CMake
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO introlab/rtabmap
|
|
# rtabmap stops releasing, check their CMakeLists.txt for version.
|
|
# currently is 0.20.23
|
|
REF 95e6a9f03936697a60be2c26e119c519e47c11f5
|
|
SHA512 082af7e15316bdeb89ff833a87a91916ddbf85de56bf4f38a0b5a40f4f330ecc057ae72a2f5ec901824e51d6f73c4a05a328116eaa5529551ffe4ca770fe0474
|
|
HEAD_REF master
|
|
PATCHES
|
|
0003-fix-qt.patch
|
|
cpp17.patch
|
|
)
|
|
|
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
FEATURES
|
|
tools BUILD_TOOLS
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
DISABLE_PARALLEL_CONFIGURE
|
|
OPTIONS
|
|
${FEATURE_OPTIONS}
|
|
-DBUILD_APP=OFF
|
|
-DBUILD_EXAMPLES=OFF
|
|
-DWITH_QT=OFF
|
|
-DWITH_ORB_OCTREE=OFF
|
|
-DWITH_TORCH=OFF
|
|
-DWITH_PYTHON=OFF
|
|
-DWITH_PYTHON_THREADING=OFF
|
|
-DWITH_PDAL=OFF
|
|
-DWITH_FREENECT=OFF
|
|
-DWITH_FREENECT2=OFF
|
|
-DWITH_K4W2=OFF
|
|
-DWITH_K4A=OFF
|
|
-DWITH_OPENNI2=OFF
|
|
-DWITH_DC1394=OFF
|
|
-DWITH_G2O=OFF
|
|
-DWITH_GTSAM=OFF
|
|
-DWITH_CERES=OFF
|
|
-DWITH_VERTIGO=OFF
|
|
-DWITH_CVSBA=OFF
|
|
-DWITH_POINTMATCHER=OFF
|
|
-DWITH_CCCORELIB=OFF
|
|
-DWITH_LOAM=OFF
|
|
-DWITH_FLYCAPTURE2=OFF
|
|
-DWITH_ZED=OFF
|
|
-DWITH_ZEDOC=OFF
|
|
-DWITH_REALSENSE=OFF
|
|
-DWITH_REALSENSE_SLAM=OFF
|
|
-DWITH_REALSENSE2=OFF
|
|
-DWITH_MYNTEYE=OFF
|
|
-DWITH_DEPTHAI=OFF
|
|
-DWITH_OCTOMAP=OFF
|
|
-DWITH_CPUTSDF=OFF
|
|
-DWITH_OPENCHISEL=OFF
|
|
-DWITH_ALICE_VISION=OFF
|
|
-DWITH_FOVIS=OFF
|
|
-DWITH_VISO2=OFF
|
|
-DWITH_DVO=OFF
|
|
-DWITH_OKVIS=OFF
|
|
-DWITH_MSCKF_VIO=OFF
|
|
-DWITH_VINS=OFF
|
|
-DWITH_OPENVINS=OFF
|
|
-DWITH_MADGWICK=OFF
|
|
-DWITH_FASTCV=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
|
|
|
|
vcpkg_copy_tools(TOOL_NAMES rtabmap-res_tool AUTO_CLEAN)
|
|
|
|
if("tools" IN_LIST FEATURES)
|
|
vcpkg_copy_tools(
|
|
TOOL_NAMES
|
|
rtabmap-camera
|
|
rtabmap-console
|
|
rtabmap-detectMoreLoopClosures
|
|
rtabmap-export
|
|
rtabmap-extractObject
|
|
rtabmap-info
|
|
rtabmap-kitti_dataset
|
|
rtabmap-recovery
|
|
rtabmap-report
|
|
rtabmap-reprocess
|
|
rtabmap-rgbd_dataset
|
|
rtabmap-euroc_dataset
|
|
rtabmap-cleanupLocalGrids
|
|
rtabmap-globalBundleAdjustment
|
|
AUTO_CLEAN
|
|
)
|
|
endif()
|
|
|
|
file(REMOVE_RECURSE
|
|
"${CURRENT_PACKAGES_DIR}/debug/include"
|
|
"${CURRENT_PACKAGES_DIR}/debug/share"
|
|
)
|
|
|
|
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|