[fixed-string] Update to 0.1.1 (#24188)

* Update fixed-string to 0.1.1

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
This commit is contained in:
chausner 2022-04-18 23:48:16 +02:00 committed by GitHub
parent da6351432f
commit 65dcd47906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 14 deletions

View File

@ -3,25 +3,24 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO unterumarmung/fixed_string
REF v0.1.0
SHA512 759c228e3bc4bc06d58b59bc19756ceb27a6f6104cb0c58288bf3156ca0958e6099741870fa09ba88a5572d17988529992cc5198faab30847118665e626c2ea4
REF v0.1.1
SHA512 8367f7cf898dd88918913f6e788cc5841eab7cd56d61f3ea21636bf3253f450d5dd6207a259d4c5980d863c2ce55fba35e3e8944341f56dbfd56faa29c39746e
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DFIXED_STRING_OPT_BUILD_EXAMPLES=OFF
-DFIXED_STRING_OPT_BUILD_TESTS=OFF
-DFIXED_STRING_OPT_INSTALL=ON
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/fixed_string TARGET_PATH share/fixed_string)
vcpkg_cmake_config_fixup(PACKAGE_NAME fixed_string CONFIG_PATH lib/cmake/fixed_string)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)

View File

@ -1,7 +1,17 @@
{
"name": "fixed-string",
"version-string": "0.1.0",
"port-version": 1,
"version": "0.1.1",
"description": "Header-only C++17 library provides a string class with std::array fixed-size semantic.",
"homepage": "https://github.com/unterumarmung/fixed_string"
"homepage": "https://github.com/unterumarmung/fixed_string",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -2213,8 +2213,8 @@
"port-version": 2
},
"fixed-string": {
"baseline": "0.1.0",
"port-version": 1
"baseline": "0.1.1",
"port-version": 0
},
"fizz": {
"baseline": "2022.03.21.00",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "dd3abbab052dee3c26babb29ed11725fbc82bcde",
"version": "0.1.1",
"port-version": 0
},
{
"git-tree": "e24d1c3d1692a06fa69dc12b65e4240a92db31bf",
"version-string": "0.1.0",