[pravila00-enum-string] New port (#34518)

* Add pravila00-enum-string

* Format vcpkg.json

* Add version

* Add version file

* Add missing comma

* Fix version

* Update ports/pravila00-enum-string/portfile.cmake

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

* Update ports/pravila00-enum-string/portfile.cmake

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

* Update ports/pravila00-enum-string/vcpkg.json

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

* Update ports/pravila00-enum-string/portfile.cmake

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

* Rename port to enum-string

* Add version for enum-string

* Fix port name

* Update version

* Update port name

* Add version

---------

Co-authored-by: Pablo Rodriguez Avila <pabloro@microsoft.com>
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
This commit is contained in:
Pravila 2023-10-19 18:51:28 +01:00 committed by GitHub
parent c4d0b65dac
commit 8941576c19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,13 @@
# Header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Pravila00/enum-string
REF 3eec46f5520c287ee46692ea1d41833cbe0d80f2
SHA512 5b29c27b8ceb358bae5a2b4fb5d198b7b4cd8a7c9926bd7685c27650da5cda9f6dc85b6a9694fe151d03b22e3230d5f3faf9143e865dffc0795b2952fca5fc0f
HEAD_REF main
)
file(COPY "${SOURCE_PATH}/EnumString.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -0,0 +1,7 @@
{
"name": "pravila00-enum-string",
"version-date": "2023-10-16",
"description": "A utility to provide stringizing support for C++ enums.",
"homepage": "https://github.com/Pravila00/enum-string",
"license": "Unlicense"
}

View File

@ -6628,6 +6628,10 @@
"baseline": "1.3",
"port-version": 7
},
"pravila00-enum-string": {
"baseline": "2023-10-16",
"port-version": 0
},
"pravila00-make-vector": {
"baseline": "2023-04-10",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "a5172f6fa4786d4b0d4f41d843e24c04799a2d85",
"version-date": "2023-10-16",
"port-version": 0
}
]
}