We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e4fff3 commit f0044e9Copy full SHA for f0044e9
CMakeLists.txt
@@ -32,6 +32,8 @@ if (${UTPP_AMPLIFY_WARNINGS})
32
# we are dealing with an MSVC or MSVC-like compiler (e.g. Intel on Windows)
33
if(CMAKE_CXX_FLAGS MATCHES "/W[0-4]")
34
string(REGEX REPLACE "/W[0-4]" "/W4" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX")
35
+ else()
36
+ string(CONCAT CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" " -Wall -Wextra -Werror -Wno-ignored-qualifiers")
37
endif()
38
39
0 commit comments