blob: 04b5f9ea182e749eeb09753223c87c8e4773fe64 (
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
|
# Modify cmake/core-files.txt to change the source files for this target.
load_sources_list(MBGL_CORE_FILES cmake/core-files.txt)
add_library(mbgl-core STATIC ${MBGL_CORE_FILES})
target_include_directories(mbgl-core
PUBLIC include
PRIVATE src
)
target_link_libraries(mbgl-core PRIVATE
earcut.hpp
expected
geojson-vt-cpp
kdbush.hpp
shelf-pack-cpp
supercluster.hpp
unique_resource
wagyu
)
# FIXME: We should not leak these many
# libraries in our public interface.
target_link_libraries(mbgl-core PUBLIC
geojson.hpp
geometry.hpp
icu
optional
polylabel
protozero
rapidjson
variant
vector-tile
)
target_add_mason_package(mbgl-core PRIVATE boost)
mbgl_platform_core()
create_source_groups(mbgl-core)
set_target_properties(mbgl-core PROPERTIES FOLDER "Core")
xcode_create_scheme(TARGET mbgl-core)
initialize_xcode_cxx_build_settings(mbgl-core)
|