From b01f4f6c24ed6ff80f822d6ed546c188655bda27 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Tue, 19 Feb 2019 12:27:52 +0100 Subject: Update project files to adapt for release and debug libraries location for Windows builds. Signed-off-by: Pavel Pisa --- qtmips_cli/qtmips_cli.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'qtmips_cli/qtmips_cli.pro') 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=$ -- cgit v1.2.3