forked from Aseman-Land/libqtelegram-aseman-edition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibqtelegram-ae.pri
91 lines (84 loc) · 2.62 KB
/
libqtelegram-ae.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
QT += gui
QT += network
QT += multimedia
DEFINES += LQTG_DISABLE_LOG
win32 {
isEmpty(OPENSSL_LIB_DIR): OPENSSL_LIB_DIR = $${DESTDIR}
isEmpty(OPENSSL_INCLUDE_PATH): OPENSSL_INCLUDE_PATH = $${DESTDIR}/include
LIBS += -L$${OPENSSL_LIB_DIR} -lssleay32 -lcrypto -lz
INCLUDEPATH += $${OPENSSL_INCLUDE_PATH}
} else {
isEmpty(OPENSSL_INCLUDE_PATH): OPENSSL_INCLUDE_PATH = /usr/include/ /usr/local/include/
isEmpty(OPENSSL_LIB_DIR) {
LIBS += -lssl -lcrypto -lz
} else {
LIBS += -L$${OPENSSL_LIB_DIR} -lssl -lcrypto -lz
}
INCLUDEPATH += $${OPENSSL_INCLUDE_PATH}
}
include(telegram/telegram.pri)
SOURCES += \
$$PWD/util/utils.cpp \
$$PWD/util/cryptoutils.cpp \
$$PWD/util/asserter.cpp \
$$PWD/file/downloadfile.cpp \
$$PWD/file/filehandler.cpp \
$$PWD/secret/decrypter.cpp \
$$PWD/secret/secretstate.cpp \
$$PWD/secret/secretchat.cpp \
$$PWD/secret/encrypter.cpp \
$$PWD/secret/decryptedmessagebuilder.cpp \
$$PWD/secret/decryptedmessage.cpp \
$$PWD/secret/decryptedmessageaction.cpp \
$$PWD/secret/decryptedmessagemedia.cpp \
$$PWD/core/outboundpkt.cpp \
$$PWD/core/eventtimer.cpp \
$$PWD/core/settings.cpp \
$$PWD/core/dcprovider.cpp \
$$PWD/core/api.cpp \
$$PWD/core/sessionmanager.cpp \
$$PWD/core/inboundpkt.cpp \
$$PWD/core/abstractapi.cpp \
$$PWD/core/connection.cpp \
$$PWD/core/query.cpp \
$$PWD/core/session.cpp \
$$PWD/core/dcauth.cpp \
$$PWD/telegram.cpp \
$$PWD/file/uploadfileengine.cpp
HEADERS += \
$$PWD/util/cryptoutils.h \
$$PWD/util/utils.h \
$$PWD/util/tlvalues.h \
$$PWD/util/constants.h \
$$PWD/util/asserter.h \
$$PWD/file/filehandler.h \
$$PWD/file/file.h \
$$PWD/file/downloadfile.h \
$$PWD/file/fileoperation.h \
$$PWD/secret/secretchatmessage.h \
$$PWD/secret/decryptedmessagebuilder.h \
$$PWD/secret/decrypter.h \
$$PWD/secret/secretchat.h \
$$PWD/secret/encrypter.h \
$$PWD/secret/secretstate.h \
$$PWD/secret/decryptedmessage.h \
$$PWD/secret/decryptedmessageaction.h \
$$PWD/secret/decryptedmessagemedia.h \
$$PWD/core/query.h \
$$PWD/core/session.h \
$$PWD/core/connection.h \
$$PWD/core/settings.h \
$$PWD/core/outboundpkt.h \
$$PWD/core/querymethods.h \
$$PWD/core/sessionmanager.h \
$$PWD/core/dcprovider.h \
$$PWD/core/abstractapi.h \
$$PWD/core/api.h \
$$PWD/core/inboundpkt.h \
$$PWD/core/dcauth.h \
$$PWD/core/endpoint.h \
$$PWD/core/eventtimer.h \
$$PWD/core/dc.h \
$$PWD/telegram.h \
$$PWD/libqtelegram_global.h \
$$PWD/file/uploadfileengine.h