CQtDeployer/test.pri

20 lines
555 B
Plaintext
Raw Normal View History

2019-05-15 14:56:38 +03:00
unix:exec = $$PWD/UnitTests/build/release/UnitTests
win32:exec = $$PWD/UnitTests/build/release/UnitTests.exe
2019-06-27 19:41:21 +03:00
QT_DIR= $$[QT_HOST_BINS]
win32:QMAKE_BIN= $$QT_DIR/qmake.exe
contains(QMAKE_HOST.os, Linux):{
QMAKE_BIN= $$QT_DIR/qmake
}
deployTest.commands = cqtdeployer -bin $$exec clear -qmake $$QMAKE_BIN -targetDir $$PWD/deployTests -libDir $$PWD -recursiveDepth 4
2019-05-15 14:56:38 +03:00
test.depends = deployTest
unix:test.commands = $$PWD/deployTests/UnitTests.sh
win32:test.commands = $$PWD/deployTests/UnitTests.exe
QMAKE_EXTRA_TARGETS += \
deployTest \
test
2019-09-11 18:09:37 +03:00