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: 71be1f2ba215e42cea1d2f9e20197033e8ab5197 (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
# 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 += platform_qt.cpp \
             wifi_location_service.cpp \
             location_service.cpp
  HEADERS += wifi_info.hpp \
             location_service.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 += platform_mac.mm \
                         apple_video_timer.mm \
                         apple_location_service.mm
  } else:linux* {
    SOURCES += platform_linux.cpp
  }
} else:iphone* {
  OBJECTIVE_SOURCES += ios_video_timer.mm \
                       platform_ios.mm
} else:android* {
  SOURCES += platform_android.cpp \
             pthread_video_timer.cpp
} else:tizen* {
  HEADERS += tizen_utils.hpp \
    http_thread_tizen.hpp
  SOURCES += platform_tizen.cpp \
    tizen_utils.cpp \
    pthread_video_timer.cpp \
    http_thread_tizen.cpp \
}

macx-*|iphone* {
  HEADERS += http_thread_apple.h
  OBJECTIVE_SOURCES += http_thread_apple.mm
}

!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 \
    local_country_file.hpp \
    local_country_file_utils.hpp \
    location.hpp \
    measurement_utils.hpp \
    mwm_version.hpp \
    platform.hpp \
    preferred_languages.hpp \
    servers_list.hpp \
    settings.hpp \
    video_timer.hpp \

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