early-access version 2853
This commit is contained in:
27
externals/vcpkg/ports/mqtt-cpp/portfile.cmake
vendored
Executable file
27
externals/vcpkg/ports/mqtt-cpp/portfile.cmake
vendored
Executable file
@@ -0,0 +1,27 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO redboltz/mqtt_cpp
|
||||
REF v13.0.0
|
||||
SHA512
|
||||
2f0c85ac813cc6c99cc5b1ca02514ee6643abc39750bce541a362d1fcd281b8b9011cc39ddeaf4394fd3772904eed15e8ecbe6b3839caad13cae2b04201e682b
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DMQTT_BUILD_EXAMPLES=OFF
|
||||
-DMQTT_BUILD_TESTS=OFF
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME mqtt_cpp_iface CONFIG_PATH lib/cmake/mqtt_cpp_iface)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
||||
file(
|
||||
INSTALL "${SOURCE_PATH}/LICENSE_1_0.txt"
|
||||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
||||
RENAME copyright)
|
22
externals/vcpkg/ports/mqtt-cpp/vcpkg.json
vendored
Executable file
22
externals/vcpkg/ports/mqtt-cpp/vcpkg.json
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "mqtt-cpp",
|
||||
"version-semver": "13.0.0",
|
||||
"description": "Header-only MQTT client/server for C++14 based on Boost.Asio.",
|
||||
"homepage": "https://github.com/redboltz/mqtt_cpp",
|
||||
"license": "BSL-1.0",
|
||||
"dependencies": [
|
||||
"boost-any",
|
||||
"boost-asio",
|
||||
"boost-multi-index",
|
||||
"boost-program-options",
|
||||
"boost-type-erasure",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user