summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatt Liberty <matt.liberty@gmail.com>2013-10-25 06:39:45 -0700
committerMatt Liberty <matt.liberty@gmail.com>2013-10-25 06:39:45 -0700
commitd06baaaa1d252b88592fd91a318bbd52d8de508d (patch)
tree7d2e57bd218a4d4c9ae8a087dcfc2237d268464d /test
parent5567c9bfd60e059de83be1a4d8dfe5ba976a06ea (diff)
Clean up build of minor executables to use proper paths and obj subdirs
Diffstat (limited to 'test')
-rw-r--r--test/test.pro13
1 files changed, 8 insertions, 5 deletions
diff --git a/test/test.pro b/test/test.pro
index facaa35..daba0fb 100644
--- a/test/test.pro
+++ b/test/test.pro
@@ -9,15 +9,18 @@ CONFIG += console
CONFIG -= x11
CONFIG += release
-build_pass:CONFIG(debug, debug|release) {
- LIBS += -L../debug -L../quackleio/debug
+debug {
+ OBJECTS_DIR = obj/debug
}
-build_pass:CONFIG(release, debug|release) {
- LIBS += -L../release -L../quackleio/release
+release {
+ OBJECTS_DIR = obj/release
}
-LIBS += -L.. -L../quackleio -lquackle -lquackleio
+LIBS += -lquackle -lquackleio
+
+QMAKE_LFLAGS_RELEASE += -L../lib/release -L../quackleio/lib/release
+QMAKE_LFLAGS_DEBUG += -L../lib/debug -L../quackleio/lib/debug
# Input
HEADERS += testharness.h trademarkedboards.h