Welcome to mirror list, hosted at ThFree Co, Russian Federation.

platform.pro « platform - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 01d2aa56d3fbce8136fd4fcf0e62bcfb0395bc6d (plain)
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# Platform independent interface to platform dependent code :)

TARGET = platform
TEMPLATE = lib
CONFIG += staticlib warn_on

ROOT_DIR = ..

include($$ROOT_DIR/common.pri)

INCLUDEPATH += $$ROOT_DIR/3party/jansson/src

!iphone*:!android*:!tizen {
  QT *= core

  SOURCES += location_service.cpp \
             marketing_service_dummy.cpp \
             platform_qt.cpp \
             wifi_location_service.cpp
  HEADERS += location_service.hpp \
             wifi_info.hpp
  !macx-* {
    QT *= network
    SOURCES += http_thread_qt.cpp
    HEADERS += http_thread_qt.hpp
  }

  win32* {
    SOURCES += platform_win.cpp \
               wifi_info_windows.cpp
  } else:macx-* {
    OBJECTIVE_SOURCES += marketing_service_dummy.cpp \
                         platform_mac.mm \
                         apple_location_service.mm
  } else:linux* {
    SOURCES += platform_linux.cpp
  }
} else:iphone* {
  OBJECTIVE_SOURCES += marketing_service_ios.mm \
                       platform_ios.mm
} else:android* {
  SOURCES += platform_android.cpp
} else:tizen* {
  HEADERS += http_thread_tizen.hpp \
             tizen_utils.hpp
  SOURCES += http_thread_tizen.cpp \
             marketing_service_dummy.cpp \
             platform_tizen.cpp \
             tizen_utils.cpp
}

macx-*|iphone* {
  HEADERS += http_thread_apple.h
  OBJECTIVE_SOURCES += \
    http_thread_apple.mm \
    http_client_apple.mm \
    socket_apple.mm \

  QMAKE_OBJECTIVE_CFLAGS += -fobjc-arc
}

linux*|win* {
  SOURCES += http_client_curl.cpp
}

!win32* {
  HEADERS += platform_unix_impl.hpp
  SOURCES += platform_unix_impl.cpp
}

# common sources for all platforms

HEADERS += \
    chunks_download_strategy.hpp \
    constants.hpp \
    country_defines.hpp \
    country_file.hpp \
    file_logging.hpp \
    get_text_by_id.hpp \
    http_request.hpp \
    http_thread_callback.hpp \
    http_client.hpp \
    local_country_file.hpp \
    local_country_file_utils.hpp \
    location.hpp \
    marketing_service.hpp \
    measurement_utils.hpp \
    mwm_traits.hpp \
    mwm_version.hpp \
    network_policy.hpp \
    platform.hpp \
    preferred_languages.hpp \
    servers_list.hpp \
    settings.hpp \
    socket.hpp \

SOURCES += \
    chunks_download_strategy.cpp \
    country_defines.cpp \
    country_file.cpp \
    file_logging.cpp \
    get_text_by_id.cpp \
    http_client.cpp \
    http_request.cpp \
    local_country_file.cpp \
    local_country_file_utils.cpp \
    marketing_service.cpp \
    measurement_utils.cpp \
    mwm_traits.cpp \
    mwm_version.cpp \
    platform.cpp \
    preferred_languages.cpp \
    servers_list.cpp \
    settings.cpp \