aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceParser.pro
diff options
context:
space:
mode:
Diffstat (limited to 'diceParser.pro')
-rw-r--r--diceParser.pro18
1 files changed, 16 insertions, 2 deletions
diff --git a/diceParser.pro b/diceParser.pro
index 219eb0a..b3ed2a0 100644
--- a/diceParser.pro
+++ b/diceParser.pro
@@ -9,8 +9,6 @@ QT += core
QT -= gui
include(node/node.pri)
-include(gui/gui.pri)
-include(irc/irc.pri)
TARGET = diceParser
CONFIG += console
@@ -18,6 +16,22 @@ CONFIG -= app_bundle
TEMPLATE = app
+#CONFIG+= IRC
+#CONFIG+= GUI
+
+
+IRC {
+include(irc/irc.pri)
+QT += gui widgets
+DEFINES+= HAVE_IRC
+message("test")
+}
+GUI {
+include(gui/gui.pri)
+QT += gui widgets
+DEFINES+= HAVE_GUI
+}
+
SOURCES += main.cpp \
diceparser.cpp \