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/mpmcqueue | |
Diffstat (limited to 'vcpkg/ports/mpmcqueue')
| -rw-r--r-- | vcpkg/ports/mpmcqueue/portfile.cmake | 18 | ||||
| -rw-r--r-- | vcpkg/ports/mpmcqueue/vcpkg.json | 17 |
2 files changed, 35 insertions, 0 deletions
diff --git a/vcpkg/ports/mpmcqueue/portfile.cmake b/vcpkg/ports/mpmcqueue/portfile.cmake new file mode 100644 index 0000000..5ea35ba --- /dev/null +++ b/vcpkg/ports/mpmcqueue/portfile.cmake @@ -0,0 +1,18 @@ +# header-only library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO rigtorp/MPMCQueue + REF 28d05c021d68fc5280b593329d1982ed02f9d7b3 + SHA512 e3305ecac05d48814d75adcb85fa165eec3a439a17dd99f8b0d2c095e40b2f98bd4bcf167cf8268f84d09aa172ab66b30573d9d3ad4908c10dc5bec632529b8a + HEAD_REF master +) + +vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}") +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/MPMCQueue) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") + +# Handle copyright +configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY) diff --git a/vcpkg/ports/mpmcqueue/vcpkg.json b/vcpkg/ports/mpmcqueue/vcpkg.json new file mode 100644 index 0000000..f01f428 --- /dev/null +++ b/vcpkg/ports/mpmcqueue/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "mpmcqueue", + "version-date": "2021-12-01", + "description": "A bounded multi-producer multi-consumer lock-free queue written in C++11", + "homepage": "https://github.com/rigtorp/MPMCQueue", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |