mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 17:27:49 +08:00
38 lines
1.2 KiB
CMake
38 lines
1.2 KiB
CMake
|
vcpkg_from_github(
|
||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||
|
REPO robotraconteur/robotraconteur_companion
|
||
|
REF v0.3.1
|
||
|
SHA512 ba6ac3777eb37411d1c52d3639aad668bc8bb6aa1a39e77a6b0288b6c130756f5bbbc0adcbaa13bb07fb152e76e29462eccc36c1cf1baf6aa0bfb81e3566a32f
|
||
|
HEAD_REF master
|
||
|
)
|
||
|
|
||
|
vcpkg_from_github(
|
||
|
OUT_SOURCE_PATH ROBDEF_SOURCE_PATH
|
||
|
REPO robotraconteur/robotraconteur_standard_robdef
|
||
|
REF group1-v1
|
||
|
SHA512 84724717e57c6e7ceefa957a8d94ee68db189e9a114564662d37b16a307735feea2a01c5622140118f537e6c084437d4bf11d0eb1e015b475fb3b636ed5009aa
|
||
|
HEAD_REF master
|
||
|
)
|
||
|
|
||
|
file(COPY ${ROBDEF_SOURCE_PATH}/group1 DESTINATION ${SOURCE_PATH}/robdef/)
|
||
|
|
||
|
vcpkg_cmake_configure(
|
||
|
SOURCE_PATH ${SOURCE_PATH}
|
||
|
)
|
||
|
|
||
|
vcpkg_cmake_install()
|
||
|
|
||
|
vcpkg_cmake_config_fixup(
|
||
|
PACKAGE_NAME RobotRaconteurCompanion
|
||
|
CONFIG_PATH "lib/cmake/RobotRaconteurCompanion"
|
||
|
)
|
||
|
|
||
|
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}")
|
||
|
|