[better-enums] New port (#34409)

This commit is contained in:
Pravila 2023-10-13 04:56:09 +01:00 committed by GitHub
parent 65cad452fa
commit 1c5cac4b68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,11 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO aantron/better-enums
REF ${VERSION}
SHA512 5997c74932803fb96beabbe029d80f6fdeab7c46f781a4e11ef775242d294dfd82ca05cac99787dd68a622db62510fd5533e9c0e85a62c7792c0dbe6237af6d9
HEAD_REF master
)
file(COPY "${SOURCE_PATH}/enum.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/better-enums")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")

View File

@ -0,0 +1,7 @@
{
"name": "better-enums",
"version": "0.11.3",
"description": "C++ compile-time enum to string, iteration, in a single header file.",
"homepage": "http://aantron.github.io/better-enums/",
"license": "BSD-2-Clause"
}

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "64e0dbffe12134b2198b81043cc0dcfd0a340f33",
"version": "0.11.3",
"port-version": 0
}
]
}

View File

@ -556,6 +556,10 @@
"baseline": "4.8.30",
"port-version": 9
},
"better-enums": {
"baseline": "0.11.3",
"port-version": 0
},
"bext-di": {
"baseline": "1.2.0",
"port-version": 1