diff options
Diffstat (limited to 'ports/atomic-queue')
| -rw-r--r-- | ports/atomic-queue/portfile.cmake | 20 | ||||
| -rw-r--r-- | ports/atomic-queue/vcpkg.json | 6 |
2 files changed, 26 insertions, 0 deletions
diff --git a/ports/atomic-queue/portfile.cmake b/ports/atomic-queue/portfile.cmake new file mode 100644 index 000000000..49c5e0576 --- /dev/null +++ b/ports/atomic-queue/portfile.cmake @@ -0,0 +1,20 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO max0x7ba/atomic_queue + REF 7619054490efdbfe377bd528bc09b21f5cd38a02 + SHA512 0d145f461a5c978c4d6f6d8ec1f06f0c61f3d009e65eac12db806c2aa7941461f881b34b9c4dd9aeebd3206a4598e6081f89f983c389b2f5aecefefcbddd94b6 + HEAD_REF master +) + +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 +) + +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/ports/atomic-queue/vcpkg.json b/ports/atomic-queue/vcpkg.json new file mode 100644 index 000000000..7e7cbe56f --- /dev/null +++ b/ports/atomic-queue/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "atomic-queue", + "version-date": "2021-05-03", + "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" +} |
