blob: b18ad3ebc062ec00de5850fe86971b14ce1bdf43 (
plain)
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
|
TEMPLATE = subdirs
SUBDIRS = \
application \
runtime \
cryptography \
signature \
utilities \
installationreport \
packagecreator \
packageextractor \
packager-tool \
applicationinstaller \
debugwrapper \
qml \
linux*:SUBDIRS += \
sudo \
OTHER_FILES += \
tests.pri \
data/create-test-packages.sh \
data/certificates/create-test-certificates.sh \
# sadly, the appman-packager is too complex to build as a host tool
!cross_compile {
prepareRecursiveTarget(check)
qtPrepareTool(APPMAN_PACKAGER, appman-packager)
unix {
# create test data on the fly - this is needed for the CI server
testdata.target = testdata
testdata.depends = $$PWD/data/create-test-packages.sh $$APPMAN_PACKAGER_EXE
testdata.commands = (cd $$PWD/data ; ./create-test-packages.sh $$APPMAN_PACKAGER)
QMAKE_EXTRA_TARGETS += testdata
# qmake would create a default check target implicitly, but since we need 'testdata' as an
# dependency, we have to set it up explicitly
check.depends = testdata $$check.depends
}
QMAKE_EXTRA_TARGETS *= check
}
|