We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4505f9b commit 4fc697cCopy full SHA for 4fc697c
CMakeLists.txt
@@ -14,8 +14,12 @@ include(CMakeSanitize)
14
# Compile options ################################################
15
16
# Maximum warnings level & warnings as error
17
-add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/W4;/WX>")
18
-add_compile_options("$<$<CXX_COMPILER_ID:GNU,Clang,AppleClang>:-Wall;-Wextra;-pedantic;-Werror>")
+add_compile_options(
+ "$<$<CXX_COMPILER_ID:MSVC>:/W4;/WX>"
19
+ "$<$<CXX_COMPILER_ID:GNU>:-Wall;-Wextra;-pedantic;-Werror>"
20
+ "$<$<CXX_COMPILER_ID:Clang>:-Wall;-Wextra;-pedantic;-Werror>"
21
+ "$<$<CXX_COMPILER_ID:AppleClang>:-Wall;-Wextra;-pedantic;-Werror>"
22
+)
23
24
# Build options ################################################
25
0 commit comments