aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine')
-rw-r--r--qtmips_machine/qtmips_machine.pro1
-rw-r--r--qtmips_machine/tests/tests.pro2
2 files changed, 3 insertions, 0 deletions
diff --git a/qtmips_machine/qtmips_machine.pro b/qtmips_machine/qtmips_machine.pro
index 1332928..7223bcd 100644
--- a/qtmips_machine/qtmips_machine.pro
+++ b/qtmips_machine/qtmips_machine.pro
@@ -4,6 +4,7 @@ TARGET = qtmips_machine
CONFIG += c++11
TEMPLATE = lib
+CONFIG += staticlib
LIBS += -lelf
QMAKE_CXXFLAGS += -std=c++0x
diff --git a/qtmips_machine/tests/tests.pro b/qtmips_machine/tests/tests.pro
index 9486a2c..d98b9d0 100644
--- a/qtmips_machine/tests/tests.pro
+++ b/qtmips_machine/tests/tests.pro
@@ -14,6 +14,8 @@ else:unix: LIBS_SUBDIR = .
LIBS += -L$$OUT_PWD/../$${LIBS_SUBDIR} -lqtmips_machine -lelf
+PRE_TARGETDEPS += $$OUT_PWD/../$${LIBS_SUBDIR}/libqtmips_machine.a
+
DOLAR=$
unix: LIBS += \