Skip to content

Commit

Permalink
[concurrentqueue] Add new package (#4115)
Browse files Browse the repository at this point in the history
  • Loading branch information
myd7349 authored and ras0219-msft committed Aug 21, 2018
1 parent 093900b commit b509ceb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ports/concurrentqueue/CONTROL
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions ports/concurrentqueue/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit b509ceb

Please sign in to comment.