diff options
| author | Tomáš Chvátal <scarabeus@gentoo.org> | 2009-10-25 22:03:11 +0100 |
|---|---|---|
| committer | Tomáš Chvátal <scarabeus@gentoo.org> | 2009-10-25 22:03:11 +0100 |
| commit | 936f5594e438a845ad221c22ba2b4aac5afea660 (patch) | |
| tree | 34a6cc060df9758ea6a2b75201b5b680dc44538e | |
| parent | da93e81d03d22b7b86c3abebbee312c5cd466d10 (diff) | |
Add ggdb to cflags.
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ccd10f..134f8c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -129,14 +129,14 @@ INCLUDE ( CPack ) # DEBUG/DEVELOPER STUFF ############################################################################### IF ( ENABLE_DEBUG ) - SET ( CMAKE_C_FLAGS "-g -O0 -Wall -pipe") + SET ( CMAKE_C_FLAGS "-g -O0 -Wall -pipe -ggdb") ADD_DEFINITIONS ( -DDEBUG ) # SET ( CMAKE_VERBOSE_MAKEFILE on ) ENDIF ( ENABLE_DEBUG ) IF ( DEVELOPER ) ADD_DEFINITIONS ( -DDEBUG ) # 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" ) + SET ( CMAKE_C_FLAGS "-g -ggdb -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 |