forked from jlaine/wilink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wilink.pro
69 lines (63 loc) · 2.57 KB
/
wilink.pro
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
include(wilink.pri)
TEMPLATE = subdirs
SUBDIRS = src
# Package generation
mac {
package.depends = first
package.output = wiLink-$$WILINK_VERSION-mac.dmg
package.tmp = wiLink.tmp
package.commands = \
rm -rf $$package.tmp $$package.output; \
$(MKDIR) $$package.tmp; \
ln -s /Applications $$package.tmp/Applications; \
cp -a $$WILINK_APP_PATH/wiLink.app $$package.tmp; \
hdiutil create $$package.output -srcdir $$package.tmp -format UDBZ -volname \"wiLink $$WILINK_VERSION\"; \
rm -rf $$package.tmp
QMAKE_EXTRA_TARGETS = package
} else:win32 {
package.depends = first
package.output = wiLink-$$WILINK_VERSION-win32.exe
package.commands = makensis wilink.nsi
QMAKE_EXTRA_TARGETS = package
NSI_HEADER = "!define PRODUCT_VERSION \"$$WILINK_VERSION\""
NSI_HEADER += "!define PRODUCT_LICENSE \"$$system_path($$WILINK_SOURCE_TREE/COPYING)\""
NSI_HEADER += "!define PRODUCT_OUTPUT \"$$system_path($$package.output)\""
NSI_BODY = $$cat($$WILINK_SOURCE_TREE/wilink.nsi.in, blob)
write_file($$WILINK_BUILD_TREE/wilink.nsi, NSI_HEADER)
write_file($$WILINK_BUILD_TREE/wilink.nsi, NSI_BODY, append)
QMAKE_CLEAN += wilink.nsi
}
OTHER_FILES += \
android/AndroidManifest.xml \
android/res/drawable/icon.png \
android/res/drawable/logo.png \
android/res/drawable-ldpi/icon.png \
android/res/drawable-hdpi/icon.png \
android/res/drawable-mdpi/icon.png \
android/res/layout/splash.xml \
android/res/values/libs.xml \
android/res/values/strings.xml \
android/res/values-de/strings.xml \
android/res/values-et/strings.xml \
android/res/values-ru/strings.xml \
android/res/values-pt-rBR/strings.xml \
android/res/values-id/strings.xml \
android/res/values-nb/strings.xml \
android/res/values-ja/strings.xml \
android/res/values-es/strings.xml \
android/res/values-nl/strings.xml \
android/res/values-rs/strings.xml \
android/res/values-ms/strings.xml \
android/res/values-zh-rCN/strings.xml \
android/res/values-it/strings.xml \
android/res/values-ro/strings.xml \
android/res/values-fa/strings.xml \
android/res/values-pl/strings.xml \
android/res/values-zh-rTW/strings.xml \
android/res/values-el/strings.xml \
android/res/values-fr/strings.xml \
android/src/org/kde/necessitas/ministro/IMinistro.aidl \
android/src/org/kde/necessitas/ministro/IMinistroCallback.aidl \
android/src/org/kde/necessitas/origo/QtActivity.java \
android/src/org/kde/necessitas/origo/QtApplication.java \
android/version.xml