mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 18:32:47 +08:00
[libcbor] Update to 0.9.0 (#24453)
* [libcbor] Update to 0.9.0 * version * Fix cmake config * version * remove cmake config * version
This commit is contained in:
parent
f8ed143052
commit
b5b1bdb20a
@ -1,29 +1,30 @@
|
|||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO PJK/libcbor
|
REPO PJK/libcbor
|
||||||
REF v0.8.0
|
REF v0.9.0
|
||||||
SHA512 694d2d3a78d80072f96e0afb73590ca1f3572e41d2117330ef4313ed06271743b048d3ba3259c6ffe9a802d5e441379d0e54787d1d42fed08dc81ac4f06c6dbc
|
SHA512 710239f69d770212a82e933e59df1aba0fb3ec516ef6666a366f30a950565a52981b0d46ca7e0eea739f5785d79cc21fc19acd857a4a0b135f4f6aa3ef5fd3b0
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_configure_cmake(
|
vcpkg_cmake_configure(
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
PREFER_NINJA
|
OPTIONS
|
||||||
OPTIONS
|
|
||||||
-DWITH_TESTS=OFF
|
-DWITH_TESTS=OFF
|
||||||
-DWITH_EXAMPLES=OFF
|
-DWITH_EXAMPLES=OFF
|
||||||
-DVCPKG_VERBOSE=ON
|
-DVCPKG_VERBOSE=ON
|
||||||
)
|
-DSANITIZE=OFF
|
||||||
|
-DCBOR_CUSTOM_ALLOC=ON
|
||||||
|
)
|
||||||
|
|
||||||
vcpkg_build_cmake()
|
vcpkg_cmake_build()
|
||||||
vcpkg_install_cmake()
|
vcpkg_cmake_install()
|
||||||
|
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||||
vcpkg_copy_pdbs()
|
vcpkg_copy_pdbs()
|
||||||
vcpkg_fixup_pkgconfig()
|
vcpkg_fixup_pkgconfig()
|
||||||
|
|
||||||
# Add Cmake Packagefile
|
# Add Cmake Packagefile
|
||||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/LibCborConfig.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/LibCborConfig.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||||
|
|
||||||
# Handle copyright
|
# Handle copyright
|
||||||
configure_file(${SOURCE_PATH}/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||||
|
@ -1,7 +1,13 @@
|
|||||||
{
|
{
|
||||||
"name": "libcbor",
|
"name": "libcbor",
|
||||||
"version": "0.8.0",
|
"version": "0.9.0",
|
||||||
"port-version": 1,
|
|
||||||
"description": "libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format",
|
"description": "libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format",
|
||||||
"homepage": "https://github.com/PJK/libcbor"
|
"homepage": "https://github.com/PJK/libcbor",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": [
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake",
|
||||||
|
"host": true
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
@ -3437,8 +3437,8 @@
|
|||||||
"port-version": 2
|
"port-version": 2
|
||||||
},
|
},
|
||||||
"libcbor": {
|
"libcbor": {
|
||||||
"baseline": "0.8.0",
|
"baseline": "0.9.0",
|
||||||
"port-version": 1
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"libcds": {
|
"libcds": {
|
||||||
"baseline": "2.3.3",
|
"baseline": "2.3.3",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "5e881ce93b52a9b16f4c03e4bed79c661def7631",
|
||||||
|
"version": "0.9.0",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "02d970a2dac8b0abb941a5b445f7e14afc9c1e49",
|
"git-tree": "02d970a2dac8b0abb941a5b445f7e14afc9c1e49",
|
||||||
"version": "0.8.0",
|
"version": "0.8.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user