blob: 2aba9a75335ccb066e5b43ba16f5dfa864c7d0d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# For subdirs template, let `test' recurse...
contains(TEMPLATE, subdirs) {
test.CONFIG = recursive
test.recurse = $$SUBDIRS
test.recurse_target = test
}
# ...otherwise, run the test
else {
test.depends = $(QMAKE_TARGET)
test.path = $$OUT_PWD
test.commands = @$$OUT_PWD/$(QMAKE_TARGET) $(ARGS)
}
QMAKE_EXTRA_TARGETS += test
|