mirror of https://github.com/microsoft/vcpkg.git
[blickfeld-qb2] Add new port (#45618)
Co-authored-by: Kai Pastor <dg0yt@darc.de>
This commit is contained in:
parent
757ecc97ee
commit
397673354b
|
|
@ -0,0 +1,25 @@
|
|||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
endif()
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Blickfeld/blickfeld-qb2
|
||||
REF "v${VERSION}"
|
||||
SHA512 03711c34b2d36a4b0d6a15c0bcdf725ffbfe8b319f10dab4909550f3adae4a7990fc468956fbf7e2c5dd5cc65964b622ebd988c81641d3e78688e6f9f86beadb
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/blickfeld-qb2")
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
blickfeld-qb2 provides CMake targets:
|
||||
|
||||
find_package(blickfeld-qb2 REQUIRED)
|
||||
target_link_libraries(main PRIVATE blickfeld-qb2)
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "blickfeld-qb2",
|
||||
"version": "2.8.3",
|
||||
"description": "Client library to communicate securely with Qb2 LiDAR devices of Blickfeld GmbH.",
|
||||
"homepage": "https://github.com/Blickfeld/blickfeld-qb2",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": [
|
||||
"grpc",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "81294fe8a9c1afd9ae86e02c8b91728664c43e0e",
|
||||
"version": "2.8.3",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -720,6 +720,10 @@
|
|||
"baseline": "2025-03-08",
|
||||
"port-version": 0
|
||||
},
|
||||
"blickfeld-qb2": {
|
||||
"baseline": "2.8.3",
|
||||
"port-version": 0
|
||||
},
|
||||
"blingfire": {
|
||||
"baseline": "0.1.8.1",
|
||||
"port-version": 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue