[libdivide] no werror et al (#30105)

This commit is contained in:
autoantwort 2023-03-10 20:20:57 +01:00 committed by GitHub
parent 38e3949c3c
commit 0987b1aa01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,19 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7800a13..f01a139 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,10 +15,10 @@ include(CMakeSanitize)
# Maximum warnings level & warnings as error
add_compile_options(
- "$<$<CXX_COMPILER_ID:MSVC>:/W4;/WX>"
- "$<$<CXX_COMPILER_ID:GNU>:-Wall;-Wextra;-pedantic;-Werror>"
- "$<$<CXX_COMPILER_ID:Clang>:-Wall;-Wextra;-pedantic;-Werror>"
- "$<$<CXX_COMPILER_ID:AppleClang>:-Wall;-Wextra;-pedantic;-Werror>"
+ "$<$<CXX_COMPILER_ID:MSVC>:/W4>"
+ "$<$<CXX_COMPILER_ID:GNU>:-Wall;-Wextra;-pedantic>"
+ "$<$<CXX_COMPILER_ID:Clang>:-Wall;-Wextra;-pedantic>"
+ "$<$<CXX_COMPILER_ID:AppleClang>:-Wall;-Wextra;-pedantic>"
)
# Build options ################################################

View File

@ -4,6 +4,8 @@ vcpkg_from_github(
REF 5.0
SHA512 89581efab63a0668405196d4d8188e03f3b87027e9014ef7238e1d79fe369d8abbca0e44b00cf02b00be29c272feb34c9b9290313596adbef9b46ae0715c29dd
HEAD_REF master
PATCHES
no-werror.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@ -1,6 +1,7 @@
{
"name": "libdivide",
"version": "5.0",
"port-version": 1,
"description": "libdivide.h is a header-only C/C++ library for optimizing integer division.",
"homepage": "https://github.com/ridiculousfish/libdivide",
"dependencies": [

View File

@ -3858,7 +3858,7 @@
},
"libdivide": {
"baseline": "5.0",
"port-version": 0
"port-version": 1
},
"libdjinterop": {
"baseline": "0.16.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c646f5a84a408b48ecdad13220a2186fa4b4e692",
"version": "5.0",
"port-version": 1
},
{
"git-tree": "b13f3b926e61d104e85e04bf192fabe29cd5f05e",
"version": "5.0",