mirror of
https://github.com/Syllo/nvtop.git
synced 2026-01-19 03:08:44 -05:00
43 lines
885 B
CMake
43 lines
885 B
CMake
set(ADDITIONAL_DEBUG_COMPILE_OPTIONS
|
|
"-Wall"
|
|
#"-Wpedantic"
|
|
"-Wextra"
|
|
"-Waddress"
|
|
"-Waggressive-loop-optimizations"
|
|
#"-Wcast-qual"
|
|
#"-Wcast-align"
|
|
"-Wbad-function-cast"
|
|
"-Wmissing-declarations"
|
|
"-Wmissing-parameter-type"
|
|
"-Wmissing-prototypes"
|
|
"-Wnested-externs"
|
|
"-Wold-style-declaration"
|
|
"-Wold-style-definition"
|
|
"-Wstrict-prototypes"
|
|
"-Wpointer-sign"
|
|
"-Wdouble-promotion"
|
|
"-Wuninitialized"
|
|
"-Winit-self"
|
|
"-Wstrict-aliasing"
|
|
"-Wsuggest-attribute=const"
|
|
"-Wtrampolines"
|
|
"-Wfloat-equal"
|
|
"-Wshadow"
|
|
"-Wunsafe-loop-optimizations"
|
|
"-Wfloat-conversion"
|
|
"-Wlogical-op"
|
|
"-Wnormalized"
|
|
"-Wdisabled-optimization"
|
|
"-Whsa"
|
|
#"-Wconversion"
|
|
"-Wunused-result"
|
|
"-Werror=implicit-function-declaration"
|
|
#"-Wpadded"
|
|
"-Wformat"
|
|
"-Wformat-security"
|
|
CACHE INTERNAL "String"
|
|
)
|
|
|
|
set(ADDITIONAL_RELEASE_LINK_OPTIONS
|
|
"-Wl,-z,relro")
|