aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/reactiveplusplus
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/reactiveplusplus')
-rw-r--r--vcpkg/ports/reactiveplusplus/portfile.cmake19
-rw-r--r--vcpkg/ports/reactiveplusplus/vcpkg.json17
2 files changed, 36 insertions, 0 deletions
diff --git a/vcpkg/ports/reactiveplusplus/portfile.cmake b/vcpkg/ports/reactiveplusplus/portfile.cmake
new file mode 100644
index 0000000..61dd82e
--- /dev/null
+++ b/vcpkg/ports/reactiveplusplus/portfile.cmake
@@ -0,0 +1,19 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO victimsnino/ReactivePlusPlus
+ REF "v${VERSION}"
+ SHA512 d48e7e0d397c9fea2eef7c7f27f48f80738e814e2418437c367bcb35830baaaef73f570adf8408153bba2736c1f74769bd37ab41e7afbcea81b280112eb5e6b3
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(PACKAGE_NAME RPP CONFIG_PATH share/RPP)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
+file(GLOB_RECURSE CMAKE_LISTS "${CURRENT_PACKAGES_DIR}/include/CMakeLists.txt")
+file(REMOVE ${CMAKE_LISTS})
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/reactiveplusplus/vcpkg.json b/vcpkg/ports/reactiveplusplus/vcpkg.json
new file mode 100644
index 0000000..4c88949
--- /dev/null
+++ b/vcpkg/ports/reactiveplusplus/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "reactiveplusplus",
+ "version": "2.1.1",
+ "description": "ReactivePlusPlus is reactive programming library for C++ language",
+ "homepage": "https://github.com/victimsnino/ReactivePlusPlus",
+ "license": "BSL-1.0",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}