Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show First 20 Lines • Show All 208 Lines • ▼ Show 20 Lines | add_compiler_flags( | ||||
-Wcast-align | -Wcast-align | ||||
-Wunused-parameter | -Wunused-parameter | ||||
-Wmissing-braces | -Wmissing-braces | ||||
-Wthread-safety | -Wthread-safety | ||||
-Wshadow | -Wshadow | ||||
-Wshadow-field | -Wshadow-field | ||||
-Wrange-loop-analysis | -Wrange-loop-analysis | ||||
-Wredundant-decls | -Wredundant-decls | ||||
-Wunreachable-code-loop-increment | |||||
) | ) | ||||
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 | ||||
) | ) | ||||
option(EXTRA_WARNINGS "Enable extra warnings" OFF) | option(EXTRA_WARNINGS "Enable extra warnings" OFF) | ||||
if(EXTRA_WARNINGS) | if(EXTRA_WARNINGS) | ||||
▲ Show 20 Lines • Show All 491 Lines • Show Last 20 Lines |