From eb75bba956fb13e156a89406f5928a55e7b66fc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 25 Jan 2018 15:40:04 +0100 Subject: Compile with debug symbols for DEBUG config --- qtmips_cli/qtmips_cli.pro | 2 +- qtmips_gui/qtmips_gui.pro | 1 + qtmips_machine/qtmips_machine.pro | 2 +- 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 -- cgit v1.2.3