diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/enchantum | |
Diffstat (limited to 'vcpkg/ports/enchantum')
| -rw-r--r-- | vcpkg/ports/enchantum/portfile.cmake | 17 | ||||
| -rw-r--r-- | vcpkg/ports/enchantum/vcpkg.json | 17 |
2 files changed, 34 insertions, 0 deletions
diff --git a/vcpkg/ports/enchantum/portfile.cmake b/vcpkg/ports/enchantum/portfile.cmake new file mode 100644 index 0000000..ff39052 --- /dev/null +++ b/vcpkg/ports/enchantum/portfile.cmake @@ -0,0 +1,17 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO ZXShady/enchantum + REF ${VERSION} + SHA512 7d44b63415c02c5ee02c4c3cf800e084cdb6dbf516a93f4cc37457b935fa5d563ffd29cca58db4ecee5afc007c3be638574d7fe9337b36354a0db9ecd4f24d2d + HEAD_REF main +) + +set(VCPKG_BUILD_TYPE release) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH "cmake") +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
\ No newline at end of file diff --git a/vcpkg/ports/enchantum/vcpkg.json b/vcpkg/ports/enchantum/vcpkg.json new file mode 100644 index 0000000..f661f48 --- /dev/null +++ b/vcpkg/ports/enchantum/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "enchantum", + "version": "0.3.0", + "description": "Header-only C++20 fast compile time enum reflection library.", + "homepage": "https://github.com/ZXShady/enchantum", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |