mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 10:29:01 +08:00
c1c253fabc
* Add curl try_compile parameters Don't set compiler when compiling for iOS * Update OpenSSL and AWS SDK for C++ port versions * [vcpkg baseline][marble] Disable find I18n * update version record * Update versions/a-/aws-sdk-cpp.json * Update versions/o-/openssl.json * Fix port-versions after merging master branch * Update versions/a-/aws-sdk-cpp.json * Update versions/o-/openssl.json * Fix merge conflicts * Merge master branch * Refactor OpenSSL's build script * Refactor OpenSSL's build script * Fix version * Fix WASM build * Fix version * Fix disabled flags * Disable treating warnings as errors * Disable treating warnings as errors * Fix hashes * fix indentation * [aws-sdk-cpp] use the powershell file to generate * Fix versions after merging * Fix versions after merging Co-authored-by: Ahmed Yarub Hani Al Nuaimi <ahmed.alnuaimi@zwift.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
37 lines
1.4 KiB
CMake
37 lines
1.4 KiB
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO awslabs/aws-c-common
|
|
REF 4a21a1c0757083a16497fea27886f5f20ccdf334 # v0.4.56
|
|
SHA512 68898a8ac15d5490f45676eabfbe0df9e45370a74c543a28909fd0d85fed48dfcf4bcd6ea2d01d1a036dd352e2e4e0b08c48c63ab2a2b477fe150b46a827136e
|
|
HEAD_REF master
|
|
PATCHES
|
|
disable-error-4068.patch # This patch fixes dependency port compilation failure
|
|
disable_warnings_as_errors.patch # Ref https://github.com/awslabs/aws-c-common/pull/798
|
|
disable-internal-crt-option.patch # Disable internal crt option because vcpkg contains crt processing flow
|
|
fix-cmake-target-path.patch # Shared libraries and static libraries are not built at the same time
|
|
disable_outline_atomics.patch # Disables -moutline-atomics flag which is not supported for wasm32 and Android
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/aws-c-common/cmake)
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)
|
|
|
|
file(REMOVE_RECURSE
|
|
${CURRENT_PACKAGES_DIR}/debug/include
|
|
${CURRENT_PACKAGES_DIR}/debug/lib/aws-c-common
|
|
${CURRENT_PACKAGES_DIR}/lib/aws-c-common
|
|
)
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
|
|
|
# Handle copyright
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|