forked from larpon/QtFirebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qtfirebase.pri
50 lines (39 loc) · 1.21 KB
/
qtfirebase.pri
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
# Add the path to your firebase c++ lib on QTFIREBASE_SDK_PATH to your pro / pri file
# example: QTFIREBASE_SDK_PATH = /home/user/Projects/libraries/firebase/firebase_cpp_sdk/
QTFIREBASE_VERSION = 1.3.1
exists(.git) {
include(qtfirebase_version.pri)
message("QtFirebase $$QTFIREBASE_VERSION git $$QTFIREBASE_GIT_VERSION/$$QTFIREBASE_GIT_BRANCH_NAME")
}
!contains(QTFIREBASE_CONFIG,"noautoregister") {
DEFINES += QTFIREBASE_AUTO_REGISTER
HEADERS += $$PWD/qtfirebase_register.h
SOURCES += $$PWD/qtfirebase_register.cpp
}
contains(QTFIREBASE_CONFIG,"analytics") {
DEFINES += QTFIREBASE_BUILD_ANALYTICS
}
contains(QTFIREBASE_CONFIG,"messaging") {
DEFINES += QTFIREBASE_BUILD_MESSAGING
}
contains(QTFIREBASE_CONFIG,"admob") {
DEFINES += QTFIREBASE_BUILD_ADMOB
}
contains(QTFIREBASE_CONFIG,"remote_config") {
DEFINES += QTFIREBASE_BUILD_REMOTE_CONFIG
}
contains(QTFIREBASE_CONFIG,"auth") {
DEFINES += QTFIREBASE_BUILD_AUTH
}
contains(QTFIREBASE_CONFIG,"database") {
DEFINES += QTFIREBASE_BUILD_DATABASE
}
DISTFILES += \
$$PWD/LICENSE \
$$PWD/README.md
# Currently supported Firebase targets
android|ios {
include(qtfirebase_target.pri)
} else {
include(qtfirebase_dummy.pri)
}