[aws-crt-cpp] no werror et al (#28520)

This commit is contained in:
autoantwort 2022-12-28 21:34:26 +01:00 committed by GitHub
parent c9fc882384
commit c8ed4ef67d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 3 deletions

View File

@ -0,0 +1,16 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a1a7964..7a5b1a5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -293,9 +293,9 @@ if (CMAKE_BUILD_TYPE STREQUAL "" OR CMAKE_BUILD_TYPE MATCHES Debug)
target_compile_definitions(${PROJECT_NAME} PRIVATE "-DDEBUG_BUILD")
#set extra warning flags for debug build
if (MSVC)
- target_compile_options(${PROJECT_NAME} PRIVATE /W4 /WX /wd4068)
+ target_compile_options(${PROJECT_NAME} PRIVATE /W4 /wd4068)
else ()
- target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wno-long-long -pedantic -Werror)
+ target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wno-long-long -pedantic)
endif ()
endif ()

View File

@ -6,6 +6,7 @@ vcpkg_from_github(
PATCHES
fix-cmake-target-path.patch
fix-ios-build.patch
no-werror.patch
)
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" STATIC_CRT)

View File

@ -1,9 +1,10 @@
{
"name": "aws-crt-cpp",
"version": "0.15.1",
"port-version": 3,
"description": "Cross-Platform HW accelerated CRC32c and CRC32 with fallback to efficient SW implementations.",
"port-version": 4,
"description": "C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.",
"homepage": "https://github.com/awslabs/aws-crt-cpp",
"license": "Apache-2.0",
"supports": "!(windows & arm) & !uwp",
"dependencies": [
"aws-c-auth",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2247bebb1109b41b4a27e18d2c91812d23dfe55d",
"version": "0.15.1",
"port-version": 4
},
{
"git-tree": "e542ffdad6392c75909a3235d33c2a22c939c980",
"version": "0.15.1",

View File

@ -330,7 +330,7 @@
},
"aws-crt-cpp": {
"baseline": "0.15.1",
"port-version": 3
"port-version": 4
},
"aws-lambda-cpp": {
"baseline": "0.2.7",