aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/cpp-channel
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/cpp-channel')
-rw-r--r--vcpkg/ports/cpp-channel/portfile.cmake21
-rw-r--r--vcpkg/ports/cpp-channel/vcpkg.json13
2 files changed, 34 insertions, 0 deletions
diff --git a/vcpkg/ports/cpp-channel/portfile.cmake b/vcpkg/ports/cpp-channel/portfile.cmake
new file mode 100644
index 0000000..91308e4
--- /dev/null
+++ b/vcpkg/ports/cpp-channel/portfile.cmake
@@ -0,0 +1,21 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO andreiavrammsd/cpp-channel
+ REF "v${VERSION}"
+ SHA512 143f6872dc0388e18605374a4daa9857abe27a68904aef6661b2d0dbb25f59f4e3f139ae537b041b8990b225b6ef7a9f72e645d28a4926c9b015d03ea4395c66
+ HEAD_REF master
+)
+
+# header-only
+set(VCPKG_BUILD_TYPE "release")
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DCPP_CHANNEL_BUILD_TESTS=OFF
+ -DCPP_CHANNEL_BUILD_EXAMPLES=OFF
+)
+
+vcpkg_cmake_install()
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/cpp-channel/vcpkg.json b/vcpkg/ports/cpp-channel/vcpkg.json
new file mode 100644
index 0000000..3aaaa61
--- /dev/null
+++ b/vcpkg/ports/cpp-channel/vcpkg.json
@@ -0,0 +1,13 @@
+{
+ "name": "cpp-channel",
+ "version": "1.3.1",
+ "description": "C++11 thread-safe container for sharing data between threads (synchronized queue)",
+ "homepage": "https://github.com/andreiavrammsd/cpp-channel",
+ "license": "MIT",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ }
+ ]
+}