summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2012-09-04 15:22:58 +0200
committerJoerg Bornemann <joerg.bornemann@nokia.com>2012-09-05 16:29:45 +0200
commita2bffc8822f30ef93ff3c822f9dd19b441214e8a (patch)
tree954157b71d891851c16d7ef8241ffd5d35197518 /tests
parent7fe1fb34b61b7c125e0dc49982bd9421036c98b8 (diff)
jom pro files: fix dependencies
Change-Id: I3bbd4c15979f7ba53009e457a2b9a83beabd663d Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.pro11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/tests.pro b/tests/tests.pro
index b2d4f88..24d9438 100644
--- a/tests/tests.pro
+++ b/tests/tests.pro
@@ -1,16 +1,17 @@
TEMPLATE = app
-CONFIG += debug_and_release
QT += testlib
DEPENDPATH += . ../src/jomlib
INCLUDEPATH += ../src/jomlib
DEFINES += SRCDIR=\\\"$$PWD/\\\"
+TARGET = tests
build_pass:CONFIG(debug, debug|release) {
- LIBS += ../lib/jomlibd.lib
-}
-build_pass:CONFIG(release, debug|release) {
- LIBS += ../lib/jomlib.lib
+ TARGET = testsd
}
+
+PROJECT_BUILD_ROOT=$$OUT_PWD/..
+include(../src/jomlib/use_jomlib.pri)
+
contains(QMAKE_CXXFLAGS_RELEASE, -MT) {
QMAKE_LFLAGS_RELEASE += /NODEFAULTLIB:msvcrt
}