mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[reaction] Add new port (#47511)
This commit is contained in:
26
ports/reaction/portfile.cmake
Normal file
26
ports/reaction/portfile.cmake
Normal file
@@ -0,0 +1,26 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO lumia431/reaction
|
||||
REF "${VERSION}"
|
||||
SHA512 7747b621c790318d3240f8634bf2310420c93b1418f9ac1384d784ab08658f12d2631e59d5927dc2b81c7801d150a785ea1cdfbb0b7025ea0531047023f8dab1
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
-DBUILD_TESTS=OFF
|
||||
-DBUILD_BENCHMARKS=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/reaction)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
|
||||
file(REMOVE_RECURSE
|
||||
"${CURRENT_PACKAGES_DIR}/debug"
|
||||
"${CURRENT_PACKAGES_DIR}/lib"
|
||||
)
|
||||
|
||||
4
ports/reaction/usage
Normal file
4
ports/reaction/usage
Normal file
@@ -0,0 +1,4 @@
|
||||
reaction is a header-only library that provides CMake targets:
|
||||
|
||||
find_package(reaction CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE reaction::reaction)
|
||||
17
ports/reaction/vcpkg.json
Normal file
17
ports/reaction/vcpkg.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "reaction",
|
||||
"version": "1.0.0",
|
||||
"description": "A lightweight, header-only, high-performance reactive programming framework for C++20",
|
||||
"homepage": "https://github.com/lumia431/reaction",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -8312,6 +8312,10 @@
|
||||
"baseline": "2025-08-12",
|
||||
"port-version": 0
|
||||
},
|
||||
"reaction": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"reactiveplusplus": {
|
||||
"baseline": "2.1.1",
|
||||
"port-version": 0
|
||||
|
||||
9
versions/r-/reaction.json
Normal file
9
versions/r-/reaction.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "db46571080109d8ff5e35597158e1da1d03eb0ba",
|
||||
"version": "1.0.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user