diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 65aff6f..08038ae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,7 +111,8 @@ IF ( ENABLE_DEBUG ) ENDIF ( ENABLE_DEBUG ) IF ( DEVELOPER ) ADD_DEFINITIONS ( -DDEBUG ) - SET ( CMAKE_C_FLAGS "-g -O0 -pipe -Wall -Wextra -Wshadow -pedantic" ) + # if somebody asks yes i am insane + SET ( CMAKE_C_FLAGS "-g -O0 -pipe -Wall -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default -Winit-self -Wmissing-include-dirs -Wundef -Waggregate-return -Wmissing-format-attribute -Wnested-externs -Wunsafe-loop-optimizations" ) ENDIF ( DEVELOPER ) ############################################################################### # BASIC DIRECTORIES FOR INCLUSION |