[readerwriterqueue] Add new package (#4096)

This commit is contained in:
Jeong YunWon 2018-08-17 01:32:05 +09:00 committed by Robert Schumacher
parent c5acdcd20f
commit 702b73cb3b
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,3 @@
Source: readerwriterqueue
Version: 1.0.0
Description: A single-producer, single-consumer lock-free queue

View File

@ -0,0 +1,15 @@
# header-only library
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO cameron314/readerwriterqueue
REF v1.0.0
SHA512 3bb8320e35e8911350df1bd5349e006f85cbd0863cc2bb8ac1912aaf7a5686f42966b7508a845cfdca280ab65a308148315c987ef333d74b6d085638dd6d8578
HEAD_REF master
)
file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/readerwriterqueue RENAME copyright)
file(GLOB HEADER_FILES ${SOURCE_PATH}/*.h)
file(COPY ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include)