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/robin-map | |
Diffstat (limited to 'vcpkg/ports/robin-map')
| -rw-r--r-- | vcpkg/ports/robin-map/portfile.cmake | 18 | ||||
| -rw-r--r-- | vcpkg/ports/robin-map/vcpkg.json | 17 |
2 files changed, 35 insertions, 0 deletions
diff --git a/vcpkg/ports/robin-map/portfile.cmake b/vcpkg/ports/robin-map/portfile.cmake new file mode 100644 index 0000000..dfe00ad --- /dev/null +++ b/vcpkg/ports/robin-map/portfile.cmake @@ -0,0 +1,18 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Tessil/robin-map + REF "v${VERSION}" + SHA512 c77dba232537e71f930a9a54f4e7575debcac10bbfa67f002a3b7262889871d146de583b774b5c8a0b5bf5a7471ee17c375bda6bb4f3f3cf52e1d33313231be2 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(PACKAGE_NAME tsl-robin-map CONFIG_PATH share/cmake/tsl-robin-map) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") + +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/vcpkg/ports/robin-map/vcpkg.json b/vcpkg/ports/robin-map/vcpkg.json new file mode 100644 index 0000000..8518ef1 --- /dev/null +++ b/vcpkg/ports/robin-map/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "robin-map", + "version-semver": "1.4.1", + "description": "A C++ implementation of a fast hash map and hash set using robin hood hashing", + "homepage": "https://github.com/Tessil/robin-map", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |