1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
#include( documentation/documentation.pri )
BUILD_PATH_CONTENTS="SRC_DIR=\"$$PWD\"" \
"BUILD_DIR=\"$$OUT_PWD\""
write_file($$PWD/build_paths.inc,BUILD_PATH_CONTENTS)
requires(qtHaveModule(quick))
load(qt_parts)
src_uitk_launcher.subdir = lomiri-ui-toolkit-launcher
src_uitk_launcher.depends = sub-src
SUBDIRS += po app-launch-profiler src_uitk_launcher apicheck
!CONFIG(no_docs) {
SUBDIRS += documentation
}
sub_tests.CONFIG -= no_default_target
sub_tests.CONFIG -= no_default_install
# additional 'make test' target required by continuous integration system
test.target = test
test.commands = make check
test.depends = sub_src
QMAKE_EXTRA_TARGETS += test
#license.target = license
#license.commands = cd $$PWD; $$PWD/tests/license/checklicense.sh
#QMAKE_EXTRA_TARGETS += license
check.target = check
check.commands = $$PWD/tests/checkresults.sh $$OUT_PWD/tests/*.xml || exit 1;
# Disable pep8 for now, as autopilot tests are not being run.
#check.commands += pep8 $$PWD || exit 1;
#helper files
OTHER_FILES += \
features/lomiri_common.prf \
features/lomiri_qml_module.prf \
features/lomiri_qml_plugin.prf \
features/lomiri_qt_module.prf \
features/lomiri_enable_testing.prf \
features/coverage.prf \
sync.profile \
.qmake.conf
|