diff options
Diffstat (limited to 'vcpkg/ports/atomic-queue')
| -rw-r--r-- | vcpkg/ports/atomic-queue/portfile.cmake | 22 | ||||
| -rw-r--r-- | vcpkg/ports/atomic-queue/vcpkg.json | 7 |
2 files changed, 29 insertions, 0 deletions
diff --git a/vcpkg/ports/atomic-queue/portfile.cmake b/vcpkg/ports/atomic-queue/portfile.cmake new file mode 100644 index 0000000..e22d8da --- /dev/null +++ b/vcpkg/ports/atomic-queue/portfile.cmake @@ -0,0 +1,22 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO max0x7ba/atomic_queue + REF "v${VERSION}" + SHA512 94dcb32fa812b684e1d713b860e5f22f053a3e9f39aa619ca217cfbc0b88643b0ccf87c0a6016eb929f5766d3bf2d046c6d4dbeb128d96f7e29437a95331301c + HEAD_REF master +) + +set(VCPKG_BUILD_TYPE release) # header-only port + +file( + COPY + "${SOURCE_PATH}/include/atomic_queue/atomic_queue.h" + "${SOURCE_PATH}/include/atomic_queue/atomic_queue_mutex.h" + "${SOURCE_PATH}/include/atomic_queue/barrier.h" + "${SOURCE_PATH}/include/atomic_queue/defs.h" + "${SOURCE_PATH}/include/atomic_queue/spinlock.h" + DESTINATION + "${CURRENT_PACKAGES_DIR}/include/atomic_queue" +) + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/vcpkg/ports/atomic-queue/vcpkg.json b/vcpkg/ports/atomic-queue/vcpkg.json new file mode 100644 index 0000000..aec7b40 --- /dev/null +++ b/vcpkg/ports/atomic-queue/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "atomic-queue", + "version": "1.7.1", + "description": "Minimalistic header-only thread-safe ultra-low-latency multiple-producer-multiple-consumer lockless queues based on circular buffer with std::atomic.", + "homepage": "https://github.com/max0x7ba/atomic_queue", + "license": "MIT" +} |