-
Notifications
You must be signed in to change notification settings - Fork 21
/
alohalytics.pro
42 lines (33 loc) · 939 Bytes
/
alohalytics.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
TEMPLATE = app
CONFIG *= console c++11 warn_on
CONFIG -= app_bundle qt
SOURCES += examples/cpp/example.cc \
src/cpp/alohalytics.cc \
HEADERS += src/alohalytics.h \
src/event_base.h \
src/file_manager.h \
src/gzip_wrapper.h \
src/http_client.h \
src/location.h \
src/logger.h \
src/messages_queue.h \
QMAKE_LFLAGS *= -lz
macx-* {
HEADERS += src/alohalytics_objc.h
OBJECTIVE_SOURCES += src/apple/http_client_apple.mm \
src/apple/alohalytics_objc.mm \
QMAKE_OBJECTIVE_CFLAGS *= -fobjc-arc
QMAKE_LFLAGS *= "-framework Foundation" "-framework SystemConfiguration"
}
macx-*|linux-* {
SOURCES += src/posix/file_manager_posix_impl.cc
}
win* {
SOURCES += src/windows/file_manager_windows_impl.cc
}
linux-* {
SOURCES += src/posix/http_client_curl.cc
}
android-* {
SOURCES += src/android/jni/jni_alohalytics.cc
}