aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/tests
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/tests')
-rw-r--r--qtmips_machine/tests/tests.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/qtmips_machine/tests/tests.pro b/qtmips_machine/tests/tests.pro
index 007d8c5..9486a2c 100644
--- a/qtmips_machine/tests/tests.pro
+++ b/qtmips_machine/tests/tests.pro
@@ -8,7 +8,11 @@ CONFIG += c++11
TEMPLATE = app
-LIBS += -L$$OUT_PWD/../ -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/../$${LIBS_SUBDIR} -lqtmips_machine -lelf
DOLAR=$