early-access version 2853
This commit is contained in:
28
externals/vcpkg/ports/wolfmqtt/portfile.cmake
vendored
Executable file
28
externals/vcpkg/ports/wolfmqtt/portfile.cmake
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO wolfssl/wolfmqtt
|
||||
REF v1.13.0
|
||||
SHA512 2bd05471c548bacf6fc5166d9c2ee546b3ce5c4fab89ff16175de9ab7696b8b570cdd7d4377378fc0cb579447488dbf727cb938192eb3180ed007414cb949a8a
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS
|
||||
-DWOLFMQTT_EXAMPLES=no
|
||||
OPTIONS_DEBUG
|
||||
-DCMAKE_C_FLAGS='-DDEBUG_MQTT'
|
||||
)
|
||||
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE"
|
||||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
||||
RENAME copyright)
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/wolfmqtt)
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
19
externals/vcpkg/ports/wolfmqtt/vcpkg.json
vendored
Executable file
19
externals/vcpkg/ports/wolfmqtt/vcpkg.json
vendored
Executable file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "wolfmqtt",
|
||||
"version": "1.13.0",
|
||||
"description": "MQTT library used with wolfSSL libraray for many platforms",
|
||||
"homepage": "https://wolfssl.com",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
},
|
||||
"wolfssl"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user