Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show First 20 Lines • Show All 221 Lines • ▼ Show 20 Lines | add_compiler_flags( | ||||
-Wvla | -Wvla | ||||
-Wcast-align | -Wcast-align | ||||
-Wunused-parameter | -Wunused-parameter | ||||
-Wmissing-braces | -Wmissing-braces | ||||
-Wthread-safety | -Wthread-safety | ||||
-Wrange-loop-analysis | -Wrange-loop-analysis | ||||
-Wredundant-decls | -Wredundant-decls | ||||
-Wunreachable-code-loop-increment | -Wunreachable-code-loop-increment | ||||
-Wsign-compare | |||||
) | ) | ||||
add_compiler_flag_group(-Wformat -Wformat-security) | add_compiler_flag_group(-Wformat -Wformat-security) | ||||
add_cxx_compiler_flags( | add_cxx_compiler_flags( | ||||
-Wredundant-move | -Wredundant-move | ||||
) | ) | ||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") | if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") | ||||
# GCC has no flag variant which is granular enough to avoid raising the clang | # GCC has no flag variant which is granular enough to avoid raising the clang | ||||
▲ Show 20 Lines • Show All 495 Lines • Show Last 20 Lines |