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

CMakeLists.txt « jni « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 550b7d7da3d489de83531c2c1d9d8639a8c4fd2e (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
cmake_minimum_required(VERSION 3.2)

project(mapswithme C CXX)

include_directories(
  ${OMIM_ROOT}/3party/jansson/src
  ${OMIM_ROOT}/3party/boost
  ${OMIM_ROOT}/3party/protobuf/protobuf/src
  ${OMIM_ROOT}/3party/glm
  ${OMIM_ROOT}/3party/succinct
  ${OMIM_ROOT}/3party/agg
  ${OMIM_ROOT}/3party/icu/common
  ${OMIM_ROOT}/3party/icu/i18n
  ${OMIM_ROOT}/3party/stb_image
  ${OMIM_ROOT}/3party/sdf_image
  ${OMIM_ROOT}/android/jni
)

set(
  SRC
  # JNI headers
  ../../private.h
  com/mapswithme/core/jni_helper.hpp
  com/mapswithme/core/logging.hpp
  com/mapswithme/core/ScopedEnv.hpp
  com/mapswithme/core/ScopedLocalRef.hpp
  com/mapswithme/maps/discovery/Locals.hpp
  com/mapswithme/maps/Framework.hpp
  com/mapswithme/maps/SearchEngine.hpp
  com/mapswithme/maps/viator/Viator.hpp
  com/mapswithme/opengl/android_gl_utils.hpp
  com/mapswithme/opengl/androidoglcontext.hpp
  com/mapswithme/opengl/androidoglcontextfactory.hpp
  com/mapswithme/opengl/gl3stub.h
  com/mapswithme/platform/GuiThread.hpp
  com/mapswithme/platform/Platform.hpp

  # JNI sources
  com/mapswithme/core/jni_helper.cpp
  com/mapswithme/core/logging.cpp
  com/mapswithme/maps/bookmarks/data/Bookmark.cpp
  com/mapswithme/maps/bookmarks/data/BookmarkManager.cpp
  com/mapswithme/maps/discovery/DiscoveryManager.cpp
  com/mapswithme/maps/discovery/Locals.cpp
  com/mapswithme/maps/DisplayedCategories.cpp
  com/mapswithme/maps/DownloadResourcesLegacyActivity.cpp
  com/mapswithme/maps/editor/OpeningHours.cpp
  com/mapswithme/maps/editor/Editor.cpp
  com/mapswithme/maps/editor/OsmOAuth.cpp
  com/mapswithme/maps/Framework.cpp
  com/mapswithme/maps/LightFramework.cpp
  com/mapswithme/maps/LocationState.cpp
  com/mapswithme/maps/LocationHelper.cpp
  com/mapswithme/maps/MapFragment.cpp
  com/mapswithme/maps/MapManager.cpp
  com/mapswithme/maps/MwmApplication.cpp
  com/mapswithme/maps/PrivateVariables.cpp
  com/mapswithme/maps/SearchEngine.cpp
  com/mapswithme/maps/SearchRecents.cpp
  com/mapswithme/maps/settings/UnitLocale.cpp
  com/mapswithme/maps/sound/tts.cpp
  com/mapswithme/maps/Sponsored.cpp
  com/mapswithme/maps/taxi/TaxiManager.cpp
  com/mapswithme/maps/TrackRecorder.cpp
  com/mapswithme/maps/TrafficState.cpp
  com/mapswithme/maps/ugc/UGC.cpp
  com/mapswithme/maps/UserMarkHelper.cpp
  com/mapswithme/maps/viator/Viator.cpp
  com/mapswithme/opengl/android_gl_utils.cpp
  com/mapswithme/opengl/androidoglcontext.cpp
  com/mapswithme/opengl/androidoglcontextfactory.cpp
  com/mapswithme/opengl/gl3stub.c
  com/mapswithme/platform/HttpThread.cpp
  com/mapswithme/platform/HttpUploader.cpp
  com/mapswithme/platform/GuiThread.cpp
  com/mapswithme/platform/Language.cpp
  com/mapswithme/platform/MarketingService.cpp
  com/mapswithme/platform/Platform.cpp
  com/mapswithme/platform/PThreadImpl.cpp
  com/mapswithme/platform/SecureStorage.cpp
  com/mapswithme/platform/SocketImpl.cpp
  com/mapswithme/util/Config.cpp
  com/mapswithme/util/HttpClient.cpp
  com/mapswithme/util/Language.cpp
  com/mapswithme/util/LoggerFactory.cpp
  com/mapswithme/util/NetworkPolicy.cpp
  com/mapswithme/util/StringUtils.cpp
  com/mapswithme/util/statistics/PushwooshHelper.cpp
)

add_library(mapswithme SHARED ${SRC})

target_link_libraries(
  mapswithme
  # Android libs
  log
  android
  EGL
  GLESv2
  atomic
  z
  # MapsWithMe libs
  map
  tracking
  routing
  traffic
  routing_common
  transit
  drape_frontend
  search
  storage
  ugc
  drape
  kml
  editor
  indexer
  platform
  partners_api
  local_ads
  mwm_diff
  bsdiff
  geometry
  coding
  base
  opening_hours
  pugixml
  oauthcpp
  expat
  freetype
  minizip
  jansson
  protobuf
  stats_client
  succinct
  stb_image
  sdf_image
  icu
  agg
)