mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 11:19:04 +08:00
73bc296b6f
* Add robotraconteur port * version database * Add robotraconteur-companion port * version database * Install usage * Update manifests * Add dbus and libusb dependencies on linux * version database * Add back vcpkg-cmake dependency * version database * Disable robotraconteur on linux * version database * usage newline * Use vcpkg_cmake_config_fixup * Add back linux support * version database * Improve check for libbluetooth using pkgconfig * version database * Change libbluetooth check to warning * version database * Set PACKAGE_NAME in vcpkg_cmake_config_fixup * version database
39 lines
1.2 KiB
CMake
39 lines
1.2 KiB
CMake
if(VCPKG_TARGET_IS_LINUX)
|
|
MESSAGE(WARNING "${PORT} requires libbluetooth-dev from the system package manager.\nTry: 'sudo yum install libbluetooth-dev ' (or sudo apt-get install libbluetooth-dev)")
|
|
endif()
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO robotraconteur/robotraconteur
|
|
REF v1.0.0
|
|
SHA512 c21dd0af579272c565dd66ca935aababfa3742db524fae66fe82c929561680608e5759ce954f31a8bbcb4ffb7c4e5314f2050b513ccddb8fb49a005c6cfa6d74
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
-DBUILD_GEN=ON
|
|
-DBUILD_TESTING=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_copy_tools(TOOL_NAMES RobotRaconteurGen AUTO_CLEAN)
|
|
|
|
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/robotraconteur)
|
|
|
|
vcpkg_cmake_config_fixup(
|
|
PACKAGE_NAME RobotRaconteur
|
|
CONFIG_PATH "lib/cmake/RobotRaconteur"
|
|
)
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
|