[span-lite] Update to 0.10.3 (#20499)

* Update span-lite to 0.10.3

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
chausner 2021-10-06 01:11:01 +02:00 committed by GitHub
parent d9333c2143
commit 14644061a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 14 deletions

View File

@ -1,29 +1,28 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO martinmoene/span-lite
REF v0.9.0
SHA512 e7d8a5f2e85b4aa7dc148c5a17898729bafa6124affacf66280eaa74c6aad5a4c9a9231e664f95392aa4edb784eaf3e2e3e03d34914c90565b9026744d7f7276
REF v0.10.3
SHA512 001259FEC3F043391D8C00D858841823F7F88B56884AE73FA0D08F71CD35FAC636DDCC323FE5AAA7E680BDE6092E693F810DA821E8E3ADE29C6D73ED46DB3609
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DSPAN_LITE_OPT_BUILD_TESTS=OFF
-DSPAN_LITE_OPT_BUILD_EXAMPLES=OFF
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_fixup_cmake_targets(
CONFIG_PATH lib/cmake/${PORT}
vcpkg_cmake_config_fixup(
CONFIG_PATH "lib/cmake/${PORT}"
)
file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/debug
${CURRENT_PACKAGES_DIR}/lib
"${CURRENT_PACKAGES_DIR}/debug"
"${CURRENT_PACKAGES_DIR}/lib"
)
file(INSTALL
${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright
"${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright
)

View File

@ -1,6 +1,16 @@
{
"name": "span-lite",
"version-string": "0.9.0",
"version": "0.10.3",
"description": "A C++20-like span for C++98, C++11 and later in a single-file header-only library",
"homepage": "https://github.com/martinmoene/span-lite"
"homepage": "https://github.com/martinmoene/span-lite",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -6269,7 +6269,7 @@
"port-version": 5
},
"span-lite": {
"baseline": "0.9.0",
"baseline": "0.10.3",
"port-version": 0
},
"sparsehash": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9fdf6960d9eab8dfdd0a03ef8e7d3db09a50defb",
"version": "0.10.3",
"port-version": 0
},
{
"git-tree": "3a97b03dacd5b7fdcec06275cf87a4df933d58a0",
"version-string": "0.9.0",