mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 09:49:01 +08:00
e33819fe06
* Release for 08-30-2021 * Update azure-iot-sdk-c vcpkg.json formatting * Update version database * Test commit. In progress. * bot actions * Update refs and hashes for main branch test * bot instructions * Add OpenSSL for uamqp, umqtt, uhttp * bot instructions * Update cmake build options 'warning_as_errors' to OFF; remove patch file * bot instructions * Update all REFs to current test commit in azure-iot-sdk-c momuno/curl-vcpkg-fix_20210831 * bot instructions * c-utility fix -- test * bot instructions * Update azure-iot-sdk-c REF and SHA512 for LTS release. Use version-date * Update version database * put back remove-werror.patch for LTS release. * Update versioning. bot instructions * bot instructions. * Adding back patch to portfile instructions. Removes warnings as errors * bot instructions Co-authored-by: Mollie Munoz <momuno@microsoft.com>
41 lines
1.3 KiB
CMake
41 lines
1.3 KiB
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
if("public-preview" IN_LIST FEATURES)
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Azure/azure-uamqp-c
|
|
REF 065ffdeeb47313ddbbc2a8e84ad52ab033e2e8d2
|
|
SHA512 bade6fae2d5479b7690632dbcc58bda5dd871eb0aa63d6a56cb35e81630121b5148309cd3414e6339c1218ec59fc12ac318b4964d295b579f7a0cacf5593b7ba
|
|
HEAD_REF master
|
|
)
|
|
else()
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Azure/azure-uamqp-c
|
|
REF b75cdb7e1736a388fe3e9fc2a99493aa1db6f43f
|
|
SHA512 a13da2bc8a471329cbcd63aaa6fb94265388f709bf8977d55017a6cdd5af21e3b08935498ff8bfebfa63791dfa04552806684fae82b664045a12d14a91df3183
|
|
HEAD_REF master
|
|
)
|
|
endif()
|
|
|
|
file(COPY ${CURRENT_INSTALLED_DIR}/share/azure-c-shared-utility/azure_iot_build_rules.cmake DESTINATION ${SOURCE_PATH}/deps/azure-c-shared-utility/configs/)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
-Dskip_samples=ON
|
|
-Duse_installed_dependencies=ON
|
|
-Dbuild_as_dynamic=OFF
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake TARGET_PATH share/uamqp)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share)
|
|
|
|
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
|
|
|
vcpkg_copy_pdbs()
|