aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-25 15:40:04 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-25 15:40:04 +0100
commiteb75bba956fb13e156a89406f5928a55e7b66fc4 (patch)
tree5d6befcc4feedcc8faeb044a6a27ea6eb55a2e7a
parentd35a19f9d3722468dc2bb4ec7449a0cee07b3b8c (diff)
downloadqtmips-eb75bba956fb13e156a89406f5928a55e7b66fc4.tar.gz
qtmips-eb75bba956fb13e156a89406f5928a55e7b66fc4.tar.bz2
qtmips-eb75bba956fb13e156a89406f5928a55e7b66fc4.zip
Compile with debug symbols for DEBUG config
-rw-r--r--qtmips_cli/qtmips_cli.pro2
-rw-r--r--qtmips_gui/qtmips_gui.pro1
-rw-r--r--qtmips_machine/qtmips_machine.pro2
3 files changed, 3 insertions, 2 deletions
diff --git a/qtmips_cli/qtmips_cli.pro b/qtmips_cli/qtmips_cli.pro
index d9100f8..32952b7 100644
--- a/qtmips_cli/qtmips_cli.pro
+++ b/qtmips_cli/qtmips_cli.pro
@@ -12,7 +12,7 @@ LIBS += -L$$OUT_PWD/../qtmips_machine/ -lqtmips_machine
INCLUDEPATH += $$PWD/../qtmips_machine
DEPENDPATH += $$PWD/../qtmips_machine
QMAKE_CXXFLAGS += -std=c++0x
-QMAKE_CXXFLAGS += -ggdb
+QMAKE_CXXFLAGS_DEBUG += -ggdb
DEFINES += QT_DEPRECATED_WARNINGS
diff --git a/qtmips_gui/qtmips_gui.pro b/qtmips_gui/qtmips_gui.pro
index 4b13d4c..59111d6 100644
--- a/qtmips_gui/qtmips_gui.pro
+++ b/qtmips_gui/qtmips_gui.pro
@@ -9,6 +9,7 @@ LIBS += -L$$OUT_PWD/../qtmips_machine/ -lqtmips_machine
INCLUDEPATH += $$PWD/../qtmips_machine
DEPENDPATH += $$PWD/../qtmips_machine
QMAKE_CXXFLAGS += -std=c++0x
+QMAKE_CXXFLAGS_DEBUG += -ggdb
DEFINES += QT_DEPRECATED_WARNINGS
diff --git a/qtmips_machine/qtmips_machine.pro b/qtmips_machine/qtmips_machine.pro
index 94d1a26..bdce148 100644
--- a/qtmips_machine/qtmips_machine.pro
+++ b/qtmips_machine/qtmips_machine.pro
@@ -7,7 +7,7 @@ TEMPLATE = lib
LIBS += -lelf
QMAKE_CXXFLAGS += -std=c++0x
-QMAKE_CXXFLAGS += -ggdb
+QMAKE_CXXFLAGS_DEBUG += -ggdb
DEFINES += QTMIPS_MACHINE_LIBRARY
DEFINES += QT_DEPRECATED_WARNINGS