mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[rmqcpp] Add port for rmqcpp - a C++ RabbitMQ Client Library (#34797)
* Add rmqcpp port * Add rmqcpp versions metadata * Update REF to latest * Update git-tree
This commit is contained in:
parent
7f2b751214
commit
7e9a45fb48
29
ports/rmqcpp/portfile.cmake
Normal file
29
ports/rmqcpp/portfile.cmake
Normal file
@ -0,0 +1,29 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO bloomberg/rmqcpp
|
||||
REF 52e583c2eb3f06707ce5fde7f29089b17428f6b2
|
||||
SHA512 c4232f37e7bc61d0cc77c52a1283fefc1a7925b4ef8cfbe9b404393540c773feabdc2ad3adc263beb06fe079cbf22010bf1551e15eb2f55b1347f6d8c8f35f8b
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBDE_BUILD_TARGET_CPP17=ON
|
||||
-DCMAKE_CXX_STANDARD=17
|
||||
-DCMAKE_CXX_STANDARD_REQUIRED=ON
|
||||
-DBDE_BUILD_TARGET_SAFE=ON
|
||||
-DCMAKE_INSTALL_LIBDIR=lib64
|
||||
)
|
||||
|
||||
vcpkg_cmake_build()
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
configure_file("${CMAKE_CURRENT_LIST_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" COPYONLY)
|
||||
|
||||
vcpkg_cmake_config_fixup()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
4
ports/rmqcpp/usage
Normal file
4
ports/rmqcpp/usage
Normal file
@ -0,0 +1,4 @@
|
||||
rmqcpp provides CMake targets:
|
||||
|
||||
find_package(rmqcpp REQUIRED)
|
||||
target_link_libraries(main PRIVATE rmqcpp::rmq)
|
36
ports/rmqcpp/vcpkg.json
Normal file
36
ports/rmqcpp/vcpkg.json
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "rmqcpp",
|
||||
"version": "1.0.0",
|
||||
"description": "rmqcpp - A C++ library for RabbitMQ.",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "bde",
|
||||
"host": true,
|
||||
"version>=": "3.123.0.0"
|
||||
},
|
||||
{
|
||||
"name": "boost-asio",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "boost-iostreams",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "gtest",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "openssl",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -7456,6 +7456,10 @@
|
||||
"baseline": "5.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"rmqcpp": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"roaring": {
|
||||
"baseline": "0.9.6",
|
||||
"port-version": 0
|
||||
|
9
versions/r-/rmqcpp.json
Normal file
9
versions/r-/rmqcpp.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"port-version": 0,
|
||||
"git-tree": "3ad0bdbdcfd0050a646feb6586d8c13931f8e602"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user