qt6windows7/mkspecs/features/testcase_targets.prf

20 lines
556 B
Plaintext
Raw Normal View History

2023-10-30 06:33:08 +08:00
# Let every project have a standard GNU `check' target
!contains(QMAKE_EXTRA_TARGETS, check) {
contains(TEMPLATE, subdirs): \
prepareRecursiveTarget(check)
else: \
check.depends = first # `make check' implies build
QMAKE_EXTRA_TARGETS += check
}
# ... and the same for benchmarks, too.
!contains(QMAKE_EXTRA_TARGETS, benchmark) {
contains(TEMPLATE, subdirs): \
prepareRecursiveTarget(benchmark)
else: \
benchmark.depends = first # `make benchmark' implies build
QMAKE_EXTRA_TARGETS += benchmark
}