forked from larpon/QtFirebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqtfirebase_dummy.pri
50 lines (38 loc) · 1.23 KB
/
qtfirebase_dummy.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
message( "QtFirebase: configuring build for non-supported Firebase target platform..." )
DEFINES += QTFIREBASE_FAKE_BUILD
QTFIREBASE_FAKE_PATH = $$PWD/fake
INCLUDEPATH += $$QTFIREBASE_FAKE_PATH
QML_IMPORT_PATH += $$PWD
HEADERS += \
$$QTFIREBASE_FAKE_PATH/src/qtfirebase.h \
$$QTFIREBASE_FAKE_PATH/src/qtfirebaseservice.h \
\
contains(QTPLUGIN,qtfirebase) {
HEADERS += $$QTFIREBASE_FAKE_PATH/src/qtfirebase_plugin.h
SOURCES += $$PWD/src/qtfirebase_plugin.cpp
}
# Analytics
contains(DEFINES,QTFIREBASE_BUILD_ANALYTICS) {
HEADERS += $$QTFIREBASE_FAKE_PATH/src/qtfirebaseanalytics.h
}
# Messaging
contains(DEFINES,QTFIREBASE_BUILD_MESSAGING) {
HEADERS += $$QTFIREBASE_FAKE_PATH/src/qtfirebasemessaging.h
}
# AdMob
contains(DEFINES,QTFIREBASE_BUILD_ADMOB) {
HEADERS += $$QTFIREBASE_FAKE_PATH/src/qtfirebaseadmob.h
}
# Remote Config
contains(DEFINES,QTFIREBASE_BUILD_REMOTE_CONFIG) {
HEADERS += $$QTFIREBASE_FAKE_PATH/src/qtfirebaseremoteconfig.h
}
# Auth
contains(DEFINES,QTFIREBASE_BUILD_AUTH) {
HEADERS += $$QTFIREBASE_FAKE_PATH/src/qtfirebaseauth.h
}
# Database
contains(DEFINES,QTFIREBASE_BUILD_AUTH) {
HEADERS += $$QTFIREBASE_FAKE_PATH/src/qtfirebasedatabase.h
}
SOURCES += $$PWD/fake/src/qtfirebase.cpp