From 197043d9b0e6c392c98bd293a9797c2ccd672db2 Mon Sep 17 00:00:00 2001 From: Nick D'Ademo Date: Tue, 23 Jul 2024 13:29:26 +0800 Subject: [PATCH] [conjure-enum] new port (#40005) Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> --- ports/conjure-enum/portfile.cmake | 11 +++++++++++ ports/conjure-enum/vcpkg.json | 7 +++++++ versions/baseline.json | 4 ++++ versions/c-/conjure-enum.json | 9 +++++++++ 4 files changed, 31 insertions(+) create mode 100644 ports/conjure-enum/portfile.cmake create mode 100644 ports/conjure-enum/vcpkg.json create mode 100644 versions/c-/conjure-enum.json diff --git a/ports/conjure-enum/portfile.cmake b/ports/conjure-enum/portfile.cmake new file mode 100644 index 0000000000..0d33613755 --- /dev/null +++ b/ports/conjure-enum/portfile.cmake @@ -0,0 +1,11 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO fix8mt/conjure_enum + REF "v${VERSION}" + SHA512 b9054a62ba10dd7b27b0fa6d2fd6a0c03eaea0f39fc0ba954e12351face02969fccd393278a9e29fa3f8af52b285b16e5ca6d0bc00a05a6ad08d7482bc1c587c + HEAD_REF master +) + +file(INSTALL ${SOURCE_PATH}/include/fix8/conjure_enum.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/conjure-enum/vcpkg.json b/ports/conjure-enum/vcpkg.json new file mode 100644 index 0000000000..d959bddb45 --- /dev/null +++ b/ports/conjure-enum/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "conjure-enum", + "version": "1.0.1", + "description": "Lightweight header-only C++20 enum and typename reflection.", + "homepage": "https://github.com/fix8mt/conjure_enum", + "license": "MIT" +} diff --git a/versions/baseline.json b/versions/baseline.json index af42c8a2ee..30c3b208f2 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1820,6 +1820,10 @@ "baseline": "4.0.3", "port-version": 0 }, + "conjure-enum": { + "baseline": "1.0.1", + "port-version": 0 + }, "console-bridge": { "baseline": "1.0.2", "port-version": 0 diff --git a/versions/c-/conjure-enum.json b/versions/c-/conjure-enum.json new file mode 100644 index 0000000000..7fe00dec8e --- /dev/null +++ b/versions/c-/conjure-enum.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "78574a0113c4bcf9bad05d2fcef406d0bc1d0891", + "version": "1.0.1", + "port-version": 0 + } + ] +}