aboutsummaryrefslogtreecommitdiff
path: root/qtmips_cli
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_cli')
-rw-r--r--qtmips_cli/qtmips_cli.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/qtmips_cli/qtmips_cli.pro b/qtmips_cli/qtmips_cli.pro
index 9b763b9..c3394c9 100644
--- a/qtmips_cli/qtmips_cli.pro
+++ b/qtmips_cli/qtmips_cli.pro
@@ -7,7 +7,11 @@ CONFIG += c++11
TEMPLATE = app
-LIBS += -L$$OUT_PWD/../qtmips_machine/ -lqtmips_machine -lelf
+win32:CONFIG(release, debug|release): LIBS_SUBDIR = release
+else:win32:CONFIG(debug, debug|release): LIBS_SUBDIR = debug
+else:unix: LIBS_SUBDIR = .
+
+LIBS += -L$$OUT_PWD/../qtmips_machine/$${LIBS_SUBDIR} -lqtmips_machine -lelf
DOLAR=$