Skip to content

Commit

Permalink
qmake|Unix|OS X: Build option "deng_debuginfo" for including debug info
Browse files Browse the repository at this point in the history
This is intended for aiding candidate phase work (release build with
debug info).
  • Loading branch information
skyjake committed Jul 1, 2013
1 parent 2b47a72 commit d5c2145
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doomsday/config_unix_any.pri
Expand Up @@ -11,6 +11,12 @@ QMAKE_CFLAGS_WARN_ON -= -Wall
QMAKE_CFLAGS_WARN_ON -= -W
QMAKE_CFLAGS_WARN_ON += -Werror-implicit-function-declaration -fdiagnostics-show-option

deng_debuginfo {
# Inclusion of debug info was requested.
QMAKE_CFLAGS += -g
QMAKE_CXXFLAGS += -g
}

*-g++*|*-gcc* {
# Allow //-comments and anonymous structs inside unions.
QMAKE_CFLAGS += -std=c99 -fms-extensions
Expand Down

0 comments on commit d5c2145

Please sign in to comment.