forked from ubports/ubuntu-ui-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathubuntu-sdk.pro
More file actions
48 lines (38 loc) · 1.32 KB
/
ubuntu-sdk.pro
File metadata and controls
48 lines (38 loc) · 1.32 KB
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
47
48
contains(QMAKE_HOST.arch, x86_64): {
#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 = ubuntu-ui-toolkit-launcher
src_uitk_launcher.depends = sub-src
SUBDIRS += po app-launch-profiler src_uitk_launcher apicheck
contains(QMAKE_HOST.arch, x86_64): {
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 = license 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/ubuntu_common.prf \
features/ubuntu_qml_module.prf \
features/ubuntu_qml_plugin.prf \
features/ubuntu_qt_module.prf \
features/ubuntu_enable_testing.prf \
features/coverage.prf \
sync.profile \
.qmake.conf