Added --enable-debug switch to the configure script and remove related code from the project file

This commit is contained in:
Christophe Dumez
2011-01-01 17:03:23 +00:00
parent b9afd63080
commit 2b179a53bf
3 changed files with 25 additions and 5 deletions

View File

@@ -23,12 +23,12 @@ QT += network
LANG_PATH = lang
ICONS_PATH = Icons
# use "CONFIG -= debug" to disable debug
CONFIG += debug
#CONFIG += release
CONFIG(debug, debug|release):message(Project is built in DEBUG mode.)
CONFIG(release, debug|release):message(Project is built in RELEASE mode.)
# Disable debug output in release mode
!debug {
message(Disabling debug output.)
DEFINES += QT_NO_DEBUG_OUTPUT
}