[crossguid] update to latest commit (#20922)

* [crossguid] update to latest commit

* [crossguid] update to latest commit

* update version

* add

* update version
This commit is contained in:
JonLiu1993 2021-10-27 14:03:22 +08:00 committed by GitHub
parent c3db26403c
commit 018ba5ae0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 13 deletions

View File

@ -3,23 +3,22 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO graeme-hill/crossguid REPO graeme-hill/crossguid
REF c4f8e9b21f779abe287c022e73eeac365d430337 REF ca1bf4b810e2d188d04cb6286f957008ee1b7681 #2021-10-22
SHA512 38876f410d0014ad930b720312cecc99be1361b9810a21d5ffc1deba6221ea0e2aebd0da332adb18fd314d0477fd33410403120629b8df405bb64a9884e3d0b0 SHA512 f0a80d8e99b10473bcfdfde3d1c5fd7b766959819f0d1c0595ac84ce46db9007a5fbfde9a55aca60530c46cb7f8ef4c7e472c6191559ded92f868589c141ccaf
HEAD_REF master HEAD_REF master
) )
vcpkg_configure_cmake( vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH "${SOURCE_PATH}"
PREFER_NINJA
OPTIONS OPTIONS
-DCROSSGUID_TESTS:BOOL=OFF -DCROSSGUID_TESTS:BOOL=OFF
) )
vcpkg_install_cmake() vcpkg_cmake_install()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/crossguid/cmake) vcpkg_cmake_config_fixup(CONFIG_PATH share/crossguid/cmake)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
# Handle copyright # Handle copyright
file(RENAME ${CURRENT_PACKAGES_DIR}/share/crossguid/LICENSE ${CURRENT_PACKAGES_DIR}/share/crossguid/copyright) file(RENAME "${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")

View File

@ -1,12 +1,19 @@
{ {
"name": "crossguid", "name": "crossguid",
"version-string": "0.2.2-2018-06-16", "version-date": "2021-10-22",
"port-version": 2,
"description": "CrossGuid is a minimal, cross platform, C++ GUID library.", "description": "CrossGuid is a minimal, cross platform, C++ GUID library.",
"dependencies": [ "dependencies": [
{ {
"name": "libuuid", "name": "libuuid",
"platform": "!windows & !uwp & !osx & !android" "platform": "!windows & !uwp & !osx & !android"
},
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
} }
] ]
} }

View File

@ -1641,8 +1641,8 @@
"port-version": 2 "port-version": 2
}, },
"crossguid": { "crossguid": {
"baseline": "0.2.2-2018-06-16", "baseline": "2021-10-22",
"port-version": 2 "port-version": 0
}, },
"crow": { "crow": {
"baseline": "0.3.3", "baseline": "0.3.3",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "5880c01322b2c2cd08e9b573b769260696b2365d",
"version-date": "2021-10-22",
"port-version": 0
},
{ {
"git-tree": "42cc44d6649705d3c104e9753f3ba1bb4217ebc8", "git-tree": "42cc44d6649705d3c104e9753f3ba1bb4217ebc8",
"version-string": "0.2.2-2018-06-16", "version-string": "0.2.2-2018-06-16",