aboutsummaryrefslogtreecommitdiff
path: root/qtmips_cli
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-19 12:27:52 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-19 12:27:52 +0100
commitb01f4f6c24ed6ff80f822d6ed546c188655bda27 (patch)
tree5df0a0cce3378b49e53a6b4248dd61a0efdb3fed /qtmips_cli
parent5e10cbc7f2e62bf417ca46ec5e1e75adeb72aaeb (diff)
downloadqtmips-b01f4f6c24ed6ff80f822d6ed546c188655bda27.tar.gz
qtmips-b01f4f6c24ed6ff80f822d6ed546c188655bda27.tar.bz2
qtmips-b01f4f6c24ed6ff80f822d6ed546c188655bda27.zip
Update project files to adapt for release and debug libraries location for Windows builds.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
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=$