-
Notifications
You must be signed in to change notification settings - Fork 85
/
core.cmake
72 lines (51 loc) · 2.28 KB
/
core.cmake
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
# External : geographiclib
add_subdirectory("${OSMAND_ROOT}/core/externals/geographiclib" "core/externals/geographiclib")
# External : z
add_subdirectory("${OSMAND_ROOT}/core/externals/zlib" "core/externals/zlib")
# External : png
add_subdirectory("${OSMAND_ROOT}/core/externals/libpng" "core/externals/libpng")
# External : expat
add_subdirectory("${OSMAND_ROOT}/core/externals/expat" "core/externals/expat")
if (CMAKE_TARGET_OS STREQUAL "linux" OR
CMAKE_TARGET_OS STREQUAL "android")
# External : freetype
add_subdirectory("${OSMAND_ROOT}/core/externals/freetype" "core/externals/freetype")
endif()
# External : gif
add_subdirectory("${OSMAND_ROOT}/core/externals/giflib" "core/externals/giflib")
# External : jpeg
add_subdirectory("${OSMAND_ROOT}/core/externals/jpeg" "core/externals/jpeg")
# External : protobuf
add_subdirectory("${OSMAND_ROOT}/core/externals/protobuf" "core/externals/protobuf")
# External : skia
add_subdirectory("${OSMAND_ROOT}/core/externals/skia" "core/externals/skia")
# External : sqlite
add_subdirectory("${OSMAND_ROOT}/core/externals/sqlite" "core/externals/sqlite")
# External : proj
add_subdirectory("${OSMAND_ROOT}/core/externals/proj" "core/externals/proj")
# External : GDAL
add_subdirectory("${OSMAND_ROOT}/core/externals/gdal" "core/externals/gdal")
if (CMAKE_TARGET_OS STREQUAL "linux" OR
CMAKE_TARGET_OS STREQUAL "macosx" OR
CMAKE_TARGET_OS STREQUAL "windows")
# External : OpenGL GLEW
add_subdirectory("${OSMAND_ROOT}/core/externals/glew" "core/externals/glew")
endif()
# External: ICU4C
add_subdirectory("${OSMAND_ROOT}/core/externals/icu4c" "core/externals/icu4c")
# External: libarchive
add_subdirectory("${OSMAND_ROOT}/core/externals/libarchive" "core/externals/libarchive")
# External: glm
add_subdirectory("${OSMAND_ROOT}/core/externals/glm" "core/externals/glm")
# External: boost
add_subdirectory("${OSMAND_ROOT}/core/externals/boost" "core/externals/boost")
# External: harfbuzz
add_subdirectory("${OSMAND_ROOT}/core/externals/harfbuzz" "core/externals/harfbuzz")
# OsmAnd Core
add_subdirectory("${OSMAND_ROOT}/core" "core")
# OsmAnd legacy
# add_subdirectory("${OSMAND_ROOT}/core-legacy/native" "core/legacy")
# OsmAnd Core wrappers
include("${OSMAND_ROOT}/core/wrappers/wrappers.cmake")
# OsmAnd Core Tools
include("${OSMAND_ROOT}/core/tools/tools.cmake")