-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
RabbitCommon.pro
48 lines (40 loc) · 1.07 KB
/
RabbitCommon.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
#-------------------------------------------------
# The file is deprecated
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
android: versionAtMost(QT_VERSION, 5.10.0): error("Qt must greater 5.10.0")
TARGET = RabbitCommon
TEMPLATE = subdirs
lib.subdir = Src
App.depends = lib
CONFIG *= ordered
SUBDIRS = lib App
isEmpty(PREFIX) : !isEmpty(INSTALL_ROOT) : PREFIX=$$INSTALL_ROOT
isEmpty(PREFIX) {
qnx : PREFIX = /tmp
else : ios: PREFIX=/
else : android : PREFIX = /
else : PREFIX = $$OUT_PWD/install
}
DISTFILES += Authors.md \
Authors_zh_CN.md \
ChangeLog*.md \
License.md
other.files = $$DISTFILES
android: other.path = $$PREFIX/assets/share/doc/RabbitCommon
else: other.path = $$PREFIX/share/doc/RabbitCommon
other.CONFIG += directory no_check_exist
INSTALLS += other
OTHER_FILES += CMakeLists.txt \
.travis.yml \
appveyor.yml \
ci/* \
tag.sh \
README*.md \
cmake/* \
debian/* \
build_debpackage.sh \
Install/* \
.github/* \
.github/workflows/*