mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 03:59:02 +08:00
[asio-grpc] new port (#20602)
* Add asio-grpc * Migrate deprecated functions in ports/asio-grpc/portfile.cmake
This commit is contained in:
parent
1c91b14312
commit
0ab80cc66d
26
ports/asio-grpc/portfile.cmake
Normal file
26
ports/asio-grpc/portfile.cmake
Normal file
@ -0,0 +1,26 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Tradias/asio-grpc
|
||||
REF v1.1.2
|
||||
SHA512 f55b219b9805f193b5673e91e58c3c5fc98957110fadf523c1729c92a06c8befe4ad58052c6e9aaabcf8327f2df31780d7e072a0923d77598974fa0145bf9e7f
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_check_features(
|
||||
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
boost-container ASIO_GRPC_USE_BOOST_CONTAINER
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS ${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/asio-grpc)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
29
ports/asio-grpc/vcpkg.json
Normal file
29
ports/asio-grpc/vcpkg.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "asio-grpc",
|
||||
"version": "1.1.2",
|
||||
"description": "Asynchronous gRPC with Boost.Asio executors",
|
||||
"homepage": "https://github.com/Tradias/asio-grpc",
|
||||
"dependencies": [
|
||||
"boost-asio",
|
||||
"boost-core",
|
||||
"boost-intrusive",
|
||||
"boost-lockfree",
|
||||
"grpc",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"boost-container": {
|
||||
"description": "Use Boost.Container instead of <memory_resource>",
|
||||
"dependencies": [
|
||||
"boost-container"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
9
versions/a-/asio-grpc.json
Normal file
9
versions/a-/asio-grpc.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "39ad0d8203c21698ba153d6951de8295954028eb",
|
||||
"version": "1.1.2",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
@ -176,6 +176,10 @@
|
||||
"baseline": "1.19.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"asio-grpc": {
|
||||
"baseline": "1.1.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"asiosdk": {
|
||||
"baseline": "2.3.3",
|
||||
"port-version": 3
|
||||
|
Loading…
Reference in New Issue
Block a user