diff --git a/ports/concurrentqueue/CONTROL b/ports/concurrentqueue/CONTROL new file mode 100644 index 0000000000..2dea272776 --- /dev/null +++ b/ports/concurrentqueue/CONTROL @@ -0,0 +1,3 @@ +Source: concurrentqueue +Version: 1.0.0-beta +Description: A fast multi-producer, multi-consumer lock-free concurrent queue for C++11 diff --git a/ports/concurrentqueue/portfile.cmake b/ports/concurrentqueue/portfile.cmake new file mode 100644 index 0000000000..9114d2a26f --- /dev/null +++ b/ports/concurrentqueue/portfile.cmake @@ -0,0 +1,15 @@ +# header-only library +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO cameron314/concurrentqueue + REF 1d60c7f3004a87eaa9d9cbd647d66361c868558f + SHA512 4b435843291f4db5be6d3fb3dd33c38a1c3c0a2e2c22910b819f119cfca2867116c5d01dd5e7d302693d467821688aac5dc7334b4a9ef39275e682f1fb99585c + HEAD_REF master +) + +file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/concurrentqueue RENAME copyright) + +file(GLOB HEADER_FILES ${SOURCE_PATH}/*.h) +file(COPY ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include)