-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libdivide] update to 5.2.0 (#43498)
- Loading branch information
Showing
5 changed files
with
30 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 7800a13..f01a139 100644 | ||
index 136400d..f54a722 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -15,10 +15,10 @@ include(CMakeSanitize) | ||
|
||
@@ -15,15 +15,15 @@ include(CMakePushCheckState) | ||
# 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>" | ||
) | ||
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") | ||
if (CMAKE_CXX_COMPILER_FRONTEND_VARIANT STREQUAL "MSVC") # clang-cl | ||
- add_compile_options("/W4;/WX;") | ||
+ add_compile_options("/W4") | ||
else() # clang native | ||
- add_compile_options("-Wall;-Wextra;-pedantic;-Werror") | ||
+ add_compile_options("-Wall;-Wextra;-pedantic") | ||
endif() | ||
else() | ||
add_compile_options( | ||
- "$<$<CXX_COMPILER_ID:MSVC>:/W4;/WX>" | ||
- "$<$<CXX_COMPILER_ID:GNU>:-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:AppleClang>:-Wall;-Wextra;-pedantic>" | ||
) | ||
endif() | ||
|
||
# Build options ################################################ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters