diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-08-20 13:32:44 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-08-20 19:11:31 +0200 |
commit | bded6c65d59b6da9e7cd6d4787e5f707a62a8285 (patch) | |
tree | 3aceee126b9892bcd9625c1c6962c8ef87ce8bf3 | |
parent | 1b4398f7aab99f6604f56957209551fb7372a9d6 (diff) | |
download | qtlocation-mapboxgl-bded6c65d59b6da9e7cd6d4787e5f707a62a8285.tar.gz |
[build] use plain text files for file lists to simplify integration with other build systems
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | cmake/benchmark-files.cmake | 28 | ||||
-rw-r--r-- | cmake/benchmark-files.txt | 26 | ||||
-rw-r--r-- | cmake/benchmark.cmake | 5 | ||||
-rw-r--r-- | cmake/core-files.cmake | 767 | ||||
-rw-r--r-- | cmake/core-files.txt | 765 | ||||
-rw-r--r-- | cmake/core.cmake | 5 | ||||
-rw-r--r-- | cmake/files.txt.ejs (renamed from cmake/files.cmake.ejs) | 7 | ||||
-rw-r--r-- | cmake/filesource-files.txt | 24 | ||||
-rw-r--r-- | cmake/filesource.cmake | 28 | ||||
-rw-r--r-- | cmake/mbgl.cmake | 18 | ||||
-rw-r--r-- | cmake/test-files.cmake | 155 | ||||
-rw-r--r-- | cmake/test-files.txt | 153 | ||||
-rw-r--r-- | cmake/test.cmake | 9 | ||||
-rw-r--r-- | platform/android/config.cmake | 237 | ||||
-rw-r--r-- | platform/android/core-files.txt | 202 | ||||
-rw-r--r-- | platform/android/filesource-files.txt | 28 | ||||
-rwxr-xr-x | scripts/generate-cmake-files.js | 12 |
18 files changed, 1235 insertions, 1237 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a02b4b9173..d524f2e754 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -146,16 +146,13 @@ if (COMMAND mbgl_filesource) include(cmake/filesource.cmake) endif() -include(cmake/core-files.cmake) include(cmake/core.cmake) if(COMMAND mbgl_platform_test) - include(cmake/test-files.cmake) include(cmake/test.cmake) endif() if(COMMAND mbgl_platform_benchmark) - include(cmake/benchmark-files.cmake) include(cmake/benchmark.cmake) endif() diff --git a/cmake/benchmark-files.cmake b/cmake/benchmark-files.cmake deleted file mode 100644 index 21547eb9c4..0000000000 --- a/cmake/benchmark-files.cmake +++ /dev/null @@ -1,28 +0,0 @@ -# This file is generated. Do not edit. Regenerate this with scripts/generate-cmake-files.js - -set(MBGL_BENCHMARK_FILES - # api - benchmark/api/query.benchmark.cpp - benchmark/api/render.benchmark.cpp - - # benchmark - benchmark/include/mbgl/benchmark.hpp - benchmark/src/main.cpp - benchmark/src/mbgl/benchmark/benchmark.cpp - benchmark/src/mbgl/benchmark/stub_geometry_tile_feature.hpp - - # function - benchmark/function/camera_function.benchmark.cpp - benchmark/function/composite_function.benchmark.cpp - benchmark/function/source_function.benchmark.cpp - - # parse - benchmark/parse/filter.benchmark.cpp - benchmark/parse/tile_mask.benchmark.cpp - benchmark/parse/vector_tile.benchmark.cpp - - # util - benchmark/util/dtoa.benchmark.cpp - benchmark/util/tilecover.benchmark.cpp - -) diff --git a/cmake/benchmark-files.txt b/cmake/benchmark-files.txt new file mode 100644 index 0000000000..16224e9cad --- /dev/null +++ b/cmake/benchmark-files.txt @@ -0,0 +1,26 @@ +# This file is generated. Do not edit. Regenerate this with scripts/generate-cmake-files.js + +# api +benchmark/api/query.benchmark.cpp +benchmark/api/render.benchmark.cpp + +# benchmark +benchmark/include/mbgl/benchmark.hpp +benchmark/src/main.cpp +benchmark/src/mbgl/benchmark/benchmark.cpp +benchmark/src/mbgl/benchmark/stub_geometry_tile_feature.hpp + +# function +benchmark/function/camera_function.benchmark.cpp +benchmark/function/composite_function.benchmark.cpp +benchmark/function/source_function.benchmark.cpp + +# parse +benchmark/parse/filter.benchmark.cpp +benchmark/parse/tile_mask.benchmark.cpp +benchmark/parse/vector_tile.benchmark.cpp + +# util +benchmark/util/dtoa.benchmark.cpp +benchmark/util/tilecover.benchmark.cpp + diff --git a/cmake/benchmark.cmake b/cmake/benchmark.cmake index 98fa4dac63..5cac8cc8b6 100644 --- a/cmake/benchmark.cmake +++ b/cmake/benchmark.cmake @@ -1,6 +1,5 @@ -add_executable(mbgl-benchmark - ${MBGL_BENCHMARK_FILES} -) +load_sources_list(MBGL_BENCHMARK_FILES cmake/benchmark-files.txt) +add_executable(mbgl-benchmark ${MBGL_BENCHMARK_FILES}) target_include_directories(mbgl-benchmark PRIVATE src diff --git a/cmake/core-files.cmake b/cmake/core-files.cmake deleted file mode 100644 index 2d0bd003c7..0000000000 --- a/cmake/core-files.cmake +++ /dev/null @@ -1,767 +0,0 @@ -# This file is generated. Do not edit. Regenerate this with scripts/generate-cmake-files.js - -set(MBGL_CORE_FILES - # actor - include/mbgl/actor/actor.hpp - include/mbgl/actor/actor_ref.hpp - include/mbgl/actor/aspiring_actor.hpp - include/mbgl/actor/established_actor.hpp - include/mbgl/actor/mailbox.hpp - include/mbgl/actor/message.hpp - include/mbgl/actor/scheduler.hpp - src/mbgl/actor/mailbox.cpp - src/mbgl/actor/scheduler.cpp - - # algorithm - src/mbgl/algorithm/covered_by_children.hpp - src/mbgl/algorithm/generate_clip_ids.cpp - src/mbgl/algorithm/generate_clip_ids.hpp - src/mbgl/algorithm/generate_clip_ids_impl.hpp - src/mbgl/algorithm/update_renderables.hpp - src/mbgl/algorithm/update_tile_masks.hpp - - # annotation - include/mbgl/annotation/annotation.hpp - src/mbgl/annotation/annotation_manager.cpp - src/mbgl/annotation/annotation_manager.hpp - src/mbgl/annotation/annotation_source.cpp - src/mbgl/annotation/annotation_source.hpp - src/mbgl/annotation/annotation_tile.cpp - src/mbgl/annotation/annotation_tile.hpp - src/mbgl/annotation/fill_annotation_impl.cpp - src/mbgl/annotation/fill_annotation_impl.hpp - src/mbgl/annotation/line_annotation_impl.cpp - src/mbgl/annotation/line_annotation_impl.hpp - src/mbgl/annotation/render_annotation_source.cpp - src/mbgl/annotation/render_annotation_source.hpp - src/mbgl/annotation/shape_annotation_impl.cpp - src/mbgl/annotation/shape_annotation_impl.hpp - src/mbgl/annotation/symbol_annotation_impl.cpp - src/mbgl/annotation/symbol_annotation_impl.hpp - - # csscolorparser - src/csscolorparser/csscolorparser.cpp - src/csscolorparser/csscolorparser.hpp - - # geometry - src/mbgl/geometry/anchor.hpp - src/mbgl/geometry/debug_font_data.hpp - src/mbgl/geometry/dem_data.cpp - src/mbgl/geometry/dem_data.hpp - src/mbgl/geometry/feature_index.cpp - src/mbgl/geometry/feature_index.hpp - src/mbgl/geometry/line_atlas.cpp - src/mbgl/geometry/line_atlas.hpp - - # gl - src/mbgl/gl/attribute.cpp - src/mbgl/gl/attribute.hpp - src/mbgl/gl/color_mode.cpp - src/mbgl/gl/color_mode.hpp - src/mbgl/gl/context.cpp - src/mbgl/gl/context.hpp - src/mbgl/gl/debugging.cpp - src/mbgl/gl/debugging.hpp - src/mbgl/gl/debugging_extension.cpp - src/mbgl/gl/debugging_extension.hpp - src/mbgl/gl/depth_mode.cpp - src/mbgl/gl/depth_mode.hpp - src/mbgl/gl/draw_mode.hpp - src/mbgl/gl/extension.hpp - src/mbgl/gl/features.hpp - src/mbgl/gl/framebuffer.hpp - src/mbgl/gl/gl.cpp - src/mbgl/gl/gl.hpp - src/mbgl/gl/index_buffer.hpp - src/mbgl/gl/object.cpp - src/mbgl/gl/object.hpp - src/mbgl/gl/primitives.hpp - src/mbgl/gl/program.hpp - src/mbgl/gl/program_binary_extension.hpp - src/mbgl/gl/renderbuffer.hpp - src/mbgl/gl/state.hpp - src/mbgl/gl/stencil_mode.cpp - src/mbgl/gl/stencil_mode.hpp - src/mbgl/gl/texture.hpp - src/mbgl/gl/types.hpp - src/mbgl/gl/uniform.cpp - src/mbgl/gl/uniform.hpp - src/mbgl/gl/value.cpp - src/mbgl/gl/value.hpp - src/mbgl/gl/vertex_array.cpp - src/mbgl/gl/vertex_array.hpp - src/mbgl/gl/vertex_array_extension.hpp - src/mbgl/gl/vertex_buffer.hpp - - # layout - src/mbgl/layout/clip_lines.cpp - src/mbgl/layout/clip_lines.hpp - src/mbgl/layout/merge_lines.cpp - src/mbgl/layout/merge_lines.hpp - src/mbgl/layout/symbol_feature.hpp - src/mbgl/layout/symbol_instance.cpp - src/mbgl/layout/symbol_instance.hpp - src/mbgl/layout/symbol_layout.cpp - src/mbgl/layout/symbol_layout.hpp - src/mbgl/layout/symbol_projection.cpp - src/mbgl/layout/symbol_projection.hpp - - # map - include/mbgl/map/camera.hpp - include/mbgl/map/change.hpp - include/mbgl/map/map.hpp - include/mbgl/map/map_observer.hpp - include/mbgl/map/mode.hpp - src/mbgl/map/map.cpp - src/mbgl/map/transform.cpp - src/mbgl/map/transform.hpp - src/mbgl/map/transform_state.cpp - src/mbgl/map/transform_state.hpp - src/mbgl/map/zoom_history.hpp - - # math - include/mbgl/math/clamp.hpp - include/mbgl/math/log2.hpp - include/mbgl/math/minmax.hpp - include/mbgl/math/wrap.hpp - src/mbgl/math/log2.cpp - - # parsedate - src/parsedate/parsedate.cpp - src/parsedate/parsedate.hpp - - # programs - src/mbgl/programs/attributes.hpp - src/mbgl/programs/background_program.cpp - src/mbgl/programs/background_program.hpp - src/mbgl/programs/binary_program.cpp - src/mbgl/programs/binary_program.hpp - src/mbgl/programs/circle_program.cpp - src/mbgl/programs/circle_program.hpp - src/mbgl/programs/clipping_mask_program.hpp - src/mbgl/programs/collision_box_program.cpp - src/mbgl/programs/collision_box_program.hpp - src/mbgl/programs/debug_program.hpp - src/mbgl/programs/extrusion_texture_program.cpp - src/mbgl/programs/extrusion_texture_program.hpp - src/mbgl/programs/fill_extrusion_program.cpp - src/mbgl/programs/fill_extrusion_program.hpp - src/mbgl/programs/fill_program.cpp - src/mbgl/programs/fill_program.hpp - src/mbgl/programs/heatmap_program.cpp - src/mbgl/programs/heatmap_program.hpp - src/mbgl/programs/heatmap_texture_program.cpp - src/mbgl/programs/heatmap_texture_program.hpp - src/mbgl/programs/hillshade_prepare_program.cpp - src/mbgl/programs/hillshade_prepare_program.hpp - src/mbgl/programs/hillshade_program.cpp - src/mbgl/programs/hillshade_program.hpp - src/mbgl/programs/line_program.cpp - src/mbgl/programs/line_program.hpp - src/mbgl/programs/program.hpp - src/mbgl/programs/program_parameters.cpp - src/mbgl/programs/program_parameters.hpp - src/mbgl/programs/programs.hpp - src/mbgl/programs/raster_program.cpp - src/mbgl/programs/raster_program.hpp - src/mbgl/programs/segment.hpp - src/mbgl/programs/symbol_program.cpp - src/mbgl/programs/symbol_program.hpp - src/mbgl/programs/uniforms.hpp - - # renderer - include/mbgl/renderer/backend_scope.hpp - include/mbgl/renderer/mode.hpp - include/mbgl/renderer/query.hpp - include/mbgl/renderer/renderer.hpp - include/mbgl/renderer/renderer_backend.hpp - include/mbgl/renderer/renderer_frontend.hpp - include/mbgl/renderer/renderer_observer.hpp - src/mbgl/renderer/backend_scope.cpp - src/mbgl/renderer/bucket.hpp - src/mbgl/renderer/bucket_parameters.cpp - src/mbgl/renderer/bucket_parameters.hpp - src/mbgl/renderer/cross_faded_property_evaluator.cpp - src/mbgl/renderer/cross_faded_property_evaluator.hpp - src/mbgl/renderer/data_driven_property_evaluator.hpp - src/mbgl/renderer/group_by_layout.cpp - src/mbgl/renderer/group_by_layout.hpp - src/mbgl/renderer/image_atlas.cpp - src/mbgl/renderer/image_atlas.hpp - src/mbgl/renderer/image_manager.cpp - src/mbgl/renderer/image_manager.hpp - src/mbgl/renderer/paint_parameters.cpp - src/mbgl/renderer/paint_parameters.hpp - src/mbgl/renderer/paint_property_binder.hpp - src/mbgl/renderer/paint_property_statistics.hpp - src/mbgl/renderer/possibly_evaluated_property_value.hpp - src/mbgl/renderer/property_evaluation_parameters.hpp - src/mbgl/renderer/property_evaluator.hpp - src/mbgl/renderer/render_layer.cpp - src/mbgl/renderer/render_layer.hpp - src/mbgl/renderer/render_light.cpp - src/mbgl/renderer/render_light.hpp - src/mbgl/renderer/render_pass.hpp - src/mbgl/renderer/render_source.cpp - src/mbgl/renderer/render_source.hpp - src/mbgl/renderer/render_source_observer.hpp - src/mbgl/renderer/render_static_data.cpp - src/mbgl/renderer/render_static_data.hpp - src/mbgl/renderer/render_tile.cpp - src/mbgl/renderer/render_tile.hpp - src/mbgl/renderer/renderer.cpp - src/mbgl/renderer/renderer_backend.cpp - src/mbgl/renderer/renderer_impl.cpp - src/mbgl/renderer/renderer_impl.hpp - src/mbgl/renderer/style_diff.cpp - src/mbgl/renderer/style_diff.hpp - src/mbgl/renderer/tile_mask.hpp - src/mbgl/renderer/tile_parameters.hpp - src/mbgl/renderer/tile_pyramid.cpp - src/mbgl/renderer/tile_pyramid.hpp - src/mbgl/renderer/transition_parameters.hpp - src/mbgl/renderer/update_parameters.hpp - - # renderer/buckets - src/mbgl/renderer/buckets/circle_bucket.cpp - src/mbgl/renderer/buckets/circle_bucket.hpp - src/mbgl/renderer/buckets/debug_bucket.cpp - src/mbgl/renderer/buckets/debug_bucket.hpp - src/mbgl/renderer/buckets/fill_bucket.cpp - src/mbgl/renderer/buckets/fill_bucket.hpp - src/mbgl/renderer/buckets/fill_extrusion_bucket.cpp - src/mbgl/renderer/buckets/fill_extrusion_bucket.hpp - src/mbgl/renderer/buckets/heatmap_bucket.cpp - src/mbgl/renderer/buckets/heatmap_bucket.hpp - src/mbgl/renderer/buckets/hillshade_bucket.cpp - src/mbgl/renderer/buckets/hillshade_bucket.hpp - src/mbgl/renderer/buckets/line_bucket.cpp - src/mbgl/renderer/buckets/line_bucket.hpp - src/mbgl/renderer/buckets/raster_bucket.cpp - src/mbgl/renderer/buckets/raster_bucket.hpp - src/mbgl/renderer/buckets/symbol_bucket.cpp - src/mbgl/renderer/buckets/symbol_bucket.hpp - - # renderer/layers - src/mbgl/renderer/layers/render_background_layer.cpp - src/mbgl/renderer/layers/render_background_layer.hpp - src/mbgl/renderer/layers/render_circle_layer.cpp - src/mbgl/renderer/layers/render_circle_layer.hpp - src/mbgl/renderer/layers/render_custom_layer.cpp - src/mbgl/renderer/layers/render_custom_layer.hpp - src/mbgl/renderer/layers/render_fill_extrusion_layer.cpp - src/mbgl/renderer/layers/render_fill_extrusion_layer.hpp - src/mbgl/renderer/layers/render_fill_layer.cpp - src/mbgl/renderer/layers/render_fill_layer.hpp - src/mbgl/renderer/layers/render_heatmap_layer.cpp - src/mbgl/renderer/layers/render_heatmap_layer.hpp - src/mbgl/renderer/layers/render_hillshade_layer.cpp - src/mbgl/renderer/layers/render_hillshade_layer.hpp - src/mbgl/renderer/layers/render_line_layer.cpp - src/mbgl/renderer/layers/render_line_layer.hpp - src/mbgl/renderer/layers/render_raster_layer.cpp - src/mbgl/renderer/layers/render_raster_layer.hpp - src/mbgl/renderer/layers/render_symbol_layer.cpp - src/mbgl/renderer/layers/render_symbol_layer.hpp - - # renderer/sources - src/mbgl/renderer/sources/render_custom_geometry_source.cpp - src/mbgl/renderer/sources/render_custom_geometry_source.hpp - src/mbgl/renderer/sources/render_geojson_source.cpp - src/mbgl/renderer/sources/render_geojson_source.hpp - src/mbgl/renderer/sources/render_image_source.cpp - src/mbgl/renderer/sources/render_image_source.hpp - src/mbgl/renderer/sources/render_raster_dem_source.cpp - src/mbgl/renderer/sources/render_raster_dem_source.hpp - src/mbgl/renderer/sources/render_raster_source.cpp - src/mbgl/renderer/sources/render_raster_source.hpp - src/mbgl/renderer/sources/render_vector_source.cpp - src/mbgl/renderer/sources/render_vector_source.hpp - - # shaders - src/mbgl/shaders/background.cpp - src/mbgl/shaders/background.hpp - src/mbgl/shaders/background_pattern.cpp - src/mbgl/shaders/background_pattern.hpp - src/mbgl/shaders/circle.cpp - src/mbgl/shaders/circle.hpp - src/mbgl/shaders/clipping_mask.cpp - src/mbgl/shaders/clipping_mask.hpp - src/mbgl/shaders/collision_box.cpp - src/mbgl/shaders/collision_box.hpp - src/mbgl/shaders/collision_circle.cpp - src/mbgl/shaders/collision_circle.hpp - src/mbgl/shaders/debug.cpp - src/mbgl/shaders/debug.hpp - src/mbgl/shaders/extrusion_texture.cpp - src/mbgl/shaders/extrusion_texture.hpp - src/mbgl/shaders/fill.cpp - src/mbgl/shaders/fill.hpp - src/mbgl/shaders/fill_extrusion.cpp - src/mbgl/shaders/fill_extrusion.hpp - src/mbgl/shaders/fill_extrusion_pattern.cpp - src/mbgl/shaders/fill_extrusion_pattern.hpp - src/mbgl/shaders/fill_outline.cpp - src/mbgl/shaders/fill_outline.hpp - src/mbgl/shaders/fill_outline_pattern.cpp - src/mbgl/shaders/fill_outline_pattern.hpp - src/mbgl/shaders/fill_pattern.cpp - src/mbgl/shaders/fill_pattern.hpp - src/mbgl/shaders/heatmap.cpp - src/mbgl/shaders/heatmap.hpp - src/mbgl/shaders/heatmap_texture.cpp - src/mbgl/shaders/heatmap_texture.hpp - src/mbgl/shaders/hillshade.cpp - src/mbgl/shaders/hillshade.hpp - src/mbgl/shaders/hillshade_prepare.cpp - src/mbgl/shaders/hillshade_prepare.hpp - src/mbgl/shaders/line.cpp - src/mbgl/shaders/line.hpp - src/mbgl/shaders/line_pattern.cpp - src/mbgl/shaders/line_pattern.hpp - src/mbgl/shaders/line_sdf.cpp - src/mbgl/shaders/line_sdf.hpp - src/mbgl/shaders/preludes.cpp - src/mbgl/shaders/preludes.hpp - src/mbgl/shaders/raster.cpp - src/mbgl/shaders/raster.hpp - src/mbgl/shaders/shaders.cpp - src/mbgl/shaders/shaders.hpp - src/mbgl/shaders/source.cpp - src/mbgl/shaders/source.hpp - src/mbgl/shaders/symbol_icon.cpp - src/mbgl/shaders/symbol_icon.hpp - src/mbgl/shaders/symbol_sdf.cpp - src/mbgl/shaders/symbol_sdf.hpp - - # sprite - src/mbgl/sprite/sprite_loader.cpp - src/mbgl/sprite/sprite_loader.hpp - src/mbgl/sprite/sprite_loader_observer.hpp - src/mbgl/sprite/sprite_loader_worker.cpp - src/mbgl/sprite/sprite_loader_worker.hpp - src/mbgl/sprite/sprite_parser.cpp - src/mbgl/sprite/sprite_parser.hpp - - # storage - include/mbgl/storage/default_file_source.hpp - include/mbgl/storage/file_source.hpp - include/mbgl/storage/network_status.hpp - include/mbgl/storage/offline.hpp - include/mbgl/storage/online_file_source.hpp - include/mbgl/storage/resource.hpp - include/mbgl/storage/resource_transform.hpp - include/mbgl/storage/response.hpp - src/mbgl/storage/asset_file_source.hpp - src/mbgl/storage/http_file_source.hpp - src/mbgl/storage/local_file_source.hpp - src/mbgl/storage/network_status.cpp - src/mbgl/storage/resource.cpp - src/mbgl/storage/resource_transform.cpp - src/mbgl/storage/response.cpp - - # style - include/mbgl/style/color_ramp_property_value.hpp - include/mbgl/style/conversion.hpp - include/mbgl/style/conversion_impl.hpp - include/mbgl/style/filter.hpp - include/mbgl/style/image.hpp - include/mbgl/style/layer.hpp - include/mbgl/style/layer_type.hpp - include/mbgl/style/light.hpp - include/mbgl/style/position.hpp - include/mbgl/style/property_expression.hpp - include/mbgl/style/property_value.hpp - include/mbgl/style/source.hpp - include/mbgl/style/style.hpp - include/mbgl/style/transition_options.hpp - include/mbgl/style/types.hpp - include/mbgl/style/undefined.hpp - src/mbgl/style/collection.hpp - src/mbgl/style/custom_tile_loader.cpp - src/mbgl/style/custom_tile_loader.hpp - src/mbgl/style/filter.cpp - src/mbgl/style/image.cpp - src/mbgl/style/image_impl.cpp - src/mbgl/style/image_impl.hpp - src/mbgl/style/layer.cpp - src/mbgl/style/layer_impl.cpp - src/mbgl/style/layer_impl.hpp - src/mbgl/style/layer_observer.hpp - src/mbgl/style/layout_property.hpp - src/mbgl/style/light.cpp - src/mbgl/style/light_impl.cpp - src/mbgl/style/light_impl.hpp - src/mbgl/style/light_observer.hpp - src/mbgl/style/observer.hpp - src/mbgl/style/paint_property.hpp - src/mbgl/style/parser.cpp - src/mbgl/style/parser.hpp - src/mbgl/style/properties.hpp - src/mbgl/style/rapidjson_conversion.hpp - src/mbgl/style/source.cpp - src/mbgl/style/source_impl.cpp - src/mbgl/style/source_impl.hpp - src/mbgl/style/source_observer.hpp - src/mbgl/style/style.cpp - src/mbgl/style/style_impl.cpp - src/mbgl/style/style_impl.hpp - src/mbgl/style/types.cpp - - # style/conversion - include/mbgl/style/conversion/color_ramp_property_value.hpp - include/mbgl/style/conversion/constant.hpp - include/mbgl/style/conversion/coordinate.hpp - include/mbgl/style/conversion/custom_geometry_source_options.hpp - include/mbgl/style/conversion/filter.hpp - include/mbgl/style/conversion/function.hpp - include/mbgl/style/conversion/geojson.hpp - include/mbgl/style/conversion/geojson_options.hpp - include/mbgl/style/conversion/get_json_type.hpp - include/mbgl/style/conversion/layer.hpp - include/mbgl/style/conversion/light.hpp - include/mbgl/style/conversion/position.hpp - include/mbgl/style/conversion/property_value.hpp - include/mbgl/style/conversion/source.hpp - include/mbgl/style/conversion/tileset.hpp - include/mbgl/style/conversion/transition_options.hpp - src/mbgl/style/conversion/color_ramp_property_value.cpp - src/mbgl/style/conversion/constant.cpp - src/mbgl/style/conversion/coordinate.cpp - src/mbgl/style/conversion/custom_geometry_source_options.cpp - src/mbgl/style/conversion/filter.cpp - src/mbgl/style/conversion/function.cpp - src/mbgl/style/conversion/geojson.cpp - src/mbgl/style/conversion/geojson_options.cpp - src/mbgl/style/conversion/get_json_type.cpp - src/mbgl/style/conversion/json.hpp - src/mbgl/style/conversion/layer.cpp - src/mbgl/style/conversion/light.cpp - src/mbgl/style/conversion/position.cpp - src/mbgl/style/conversion/property_value.cpp - src/mbgl/style/conversion/source.cpp - src/mbgl/style/conversion/stringify.hpp - src/mbgl/style/conversion/tileset.cpp - src/mbgl/style/conversion/transition_options.cpp - - # style/expression - include/mbgl/style/expression/array_assertion.hpp - include/mbgl/style/expression/assertion.hpp - include/mbgl/style/expression/at.hpp - include/mbgl/style/expression/boolean_operator.hpp - include/mbgl/style/expression/case.hpp - include/mbgl/style/expression/check_subtype.hpp - include/mbgl/style/expression/coalesce.hpp - include/mbgl/style/expression/coercion.hpp - include/mbgl/style/expression/collator.hpp - include/mbgl/style/expression/collator_expression.hpp - include/mbgl/style/expression/comparison.hpp - include/mbgl/style/expression/compound_expression.hpp - include/mbgl/style/expression/dsl.hpp - include/mbgl/style/expression/error.hpp - include/mbgl/style/expression/expression.hpp - include/mbgl/style/expression/find_zoom_curve.hpp - include/mbgl/style/expression/get_covering_stops.hpp - include/mbgl/style/expression/interpolate.hpp - include/mbgl/style/expression/interpolator.hpp - include/mbgl/style/expression/is_constant.hpp - include/mbgl/style/expression/is_expression.hpp - include/mbgl/style/expression/length.hpp - include/mbgl/style/expression/let.hpp - include/mbgl/style/expression/literal.hpp - include/mbgl/style/expression/match.hpp - include/mbgl/style/expression/parsing_context.hpp - include/mbgl/style/expression/step.hpp - include/mbgl/style/expression/type.hpp - include/mbgl/style/expression/value.hpp - src/mbgl/style/expression/array_assertion.cpp - src/mbgl/style/expression/assertion.cpp - src/mbgl/style/expression/at.cpp - src/mbgl/style/expression/boolean_operator.cpp - src/mbgl/style/expression/case.cpp - src/mbgl/style/expression/check_subtype.cpp - src/mbgl/style/expression/coalesce.cpp - src/mbgl/style/expression/coercion.cpp - src/mbgl/style/expression/collator_expression.cpp - src/mbgl/style/expression/comparison.cpp - src/mbgl/style/expression/compound_expression.cpp - src/mbgl/style/expression/dsl.cpp - src/mbgl/style/expression/expression.cpp - src/mbgl/style/expression/find_zoom_curve.cpp - src/mbgl/style/expression/get_covering_stops.cpp - src/mbgl/style/expression/interpolate.cpp - src/mbgl/style/expression/is_constant.cpp - src/mbgl/style/expression/is_expression.cpp - src/mbgl/style/expression/length.cpp - src/mbgl/style/expression/let.cpp - src/mbgl/style/expression/literal.cpp - src/mbgl/style/expression/match.cpp - src/mbgl/style/expression/parsing_context.cpp - src/mbgl/style/expression/step.cpp - src/mbgl/style/expression/util.cpp - src/mbgl/style/expression/util.hpp - src/mbgl/style/expression/value.cpp - - # style/layers - include/mbgl/style/layers/background_layer.hpp - include/mbgl/style/layers/circle_layer.hpp - include/mbgl/style/layers/custom_layer.hpp - include/mbgl/style/layers/fill_extrusion_layer.hpp - include/mbgl/style/layers/fill_layer.hpp - include/mbgl/style/layers/heatmap_layer.hpp - include/mbgl/style/layers/hillshade_layer.hpp - include/mbgl/style/layers/line_layer.hpp - include/mbgl/style/layers/raster_layer.hpp - include/mbgl/style/layers/symbol_layer.hpp - src/mbgl/style/layers/background_layer.cpp - src/mbgl/style/layers/background_layer_impl.cpp - src/mbgl/style/layers/background_layer_impl.hpp - src/mbgl/style/layers/background_layer_properties.cpp - src/mbgl/style/layers/background_layer_properties.hpp - src/mbgl/style/layers/circle_layer.cpp - src/mbgl/style/layers/circle_layer_impl.cpp - src/mbgl/style/layers/circle_layer_impl.hpp - src/mbgl/style/layers/circle_layer_properties.cpp - src/mbgl/style/layers/circle_layer_properties.hpp - src/mbgl/style/layers/custom_layer.cpp - src/mbgl/style/layers/custom_layer_impl.cpp - src/mbgl/style/layers/custom_layer_impl.hpp - src/mbgl/style/layers/fill_extrusion_layer.cpp - src/mbgl/style/layers/fill_extrusion_layer_impl.cpp - src/mbgl/style/layers/fill_extrusion_layer_impl.hpp - src/mbgl/style/layers/fill_extrusion_layer_properties.cpp - src/mbgl/style/layers/fill_extrusion_layer_properties.hpp - src/mbgl/style/layers/fill_layer.cpp - src/mbgl/style/layers/fill_layer_impl.cpp - src/mbgl/style/layers/fill_layer_impl.hpp - src/mbgl/style/layers/fill_layer_properties.cpp - src/mbgl/style/layers/fill_layer_properties.hpp - src/mbgl/style/layers/heatmap_layer.cpp - src/mbgl/style/layers/heatmap_layer_impl.cpp - src/mbgl/style/layers/heatmap_layer_impl.hpp - src/mbgl/style/layers/heatmap_layer_properties.cpp - src/mbgl/style/layers/heatmap_layer_properties.hpp - src/mbgl/style/layers/hillshade_layer.cpp - src/mbgl/style/layers/hillshade_layer_impl.cpp - src/mbgl/style/layers/hillshade_layer_impl.hpp - src/mbgl/style/layers/hillshade_layer_properties.cpp - src/mbgl/style/layers/hillshade_layer_properties.hpp - src/mbgl/style/layers/line_layer.cpp - src/mbgl/style/layers/line_layer_impl.cpp - src/mbgl/style/layers/line_layer_impl.hpp - src/mbgl/style/layers/line_layer_properties.cpp - src/mbgl/style/layers/line_layer_properties.hpp - src/mbgl/style/layers/raster_layer.cpp - src/mbgl/style/layers/raster_layer_impl.cpp - src/mbgl/style/layers/raster_layer_impl.hpp - src/mbgl/style/layers/raster_layer_properties.cpp - src/mbgl/style/layers/raster_layer_properties.hpp - src/mbgl/style/layers/symbol_layer.cpp - src/mbgl/style/layers/symbol_layer_impl.cpp - src/mbgl/style/layers/symbol_layer_impl.hpp - src/mbgl/style/layers/symbol_layer_properties.cpp - src/mbgl/style/layers/symbol_layer_properties.hpp - - # style/sources - include/mbgl/style/sources/custom_geometry_source.hpp - include/mbgl/style/sources/geojson_source.hpp - include/mbgl/style/sources/image_source.hpp - include/mbgl/style/sources/raster_dem_source.hpp - include/mbgl/style/sources/raster_source.hpp - include/mbgl/style/sources/vector_source.hpp - src/mbgl/style/sources/custom_geometry_source.cpp - src/mbgl/style/sources/custom_geometry_source_impl.cpp - src/mbgl/style/sources/custom_geometry_source_impl.hpp - src/mbgl/style/sources/geojson_source.cpp - src/mbgl/style/sources/geojson_source_impl.cpp - src/mbgl/style/sources/geojson_source_impl.hpp - src/mbgl/style/sources/image_source.cpp - src/mbgl/style/sources/image_source_impl.cpp - src/mbgl/style/sources/image_source_impl.hpp - src/mbgl/style/sources/raster_dem_source.cpp - src/mbgl/style/sources/raster_source.cpp - src/mbgl/style/sources/raster_source_impl.cpp - src/mbgl/style/sources/raster_source_impl.hpp - src/mbgl/style/sources/vector_source.cpp - src/mbgl/style/sources/vector_source_impl.cpp - src/mbgl/style/sources/vector_source_impl.hpp - - # text - src/mbgl/text/bidi.hpp - src/mbgl/text/check_max_angle.cpp - src/mbgl/text/check_max_angle.hpp - src/mbgl/text/collision_feature.cpp - src/mbgl/text/collision_feature.hpp - src/mbgl/text/collision_index.cpp - src/mbgl/text/collision_index.hpp - src/mbgl/text/cross_tile_symbol_index.cpp - src/mbgl/text/cross_tile_symbol_index.hpp - src/mbgl/text/get_anchors.cpp - src/mbgl/text/get_anchors.hpp - src/mbgl/text/glyph.cpp - src/mbgl/text/glyph.hpp - src/mbgl/text/glyph_atlas.cpp - src/mbgl/text/glyph_atlas.hpp - src/mbgl/text/glyph_manager.cpp - src/mbgl/text/glyph_manager.hpp - src/mbgl/text/glyph_manager_observer.hpp - src/mbgl/text/glyph_pbf.cpp - src/mbgl/text/glyph_pbf.hpp - src/mbgl/text/glyph_range.hpp - src/mbgl/text/language_tag.cpp - src/mbgl/text/language_tag.hpp - src/mbgl/text/local_glyph_rasterizer.hpp - src/mbgl/text/placement.cpp - src/mbgl/text/placement.hpp - src/mbgl/text/quads.cpp - src/mbgl/text/quads.hpp - src/mbgl/text/shaping.cpp - src/mbgl/text/shaping.hpp - - # tile - include/mbgl/tile/tile_id.hpp - include/mbgl/tile/tile_necessity.hpp - src/mbgl/tile/custom_geometry_tile.cpp - src/mbgl/tile/custom_geometry_tile.hpp - src/mbgl/tile/geojson_tile.cpp - src/mbgl/tile/geojson_tile.hpp - src/mbgl/tile/geojson_tile_data.hpp - src/mbgl/tile/geometry_tile.cpp - src/mbgl/tile/geometry_tile.hpp - src/mbgl/tile/geometry_tile_data.cpp - src/mbgl/tile/geometry_tile_data.hpp - src/mbgl/tile/geometry_tile_worker.cpp - src/mbgl/tile/geometry_tile_worker.hpp - src/mbgl/tile/raster_dem_tile.cpp - src/mbgl/tile/raster_dem_tile.hpp - src/mbgl/tile/raster_dem_tile_worker.cpp - src/mbgl/tile/raster_dem_tile_worker.hpp - src/mbgl/tile/raster_tile.cpp - src/mbgl/tile/raster_tile.hpp - src/mbgl/tile/raster_tile_worker.cpp - src/mbgl/tile/raster_tile_worker.hpp - src/mbgl/tile/tile.cpp - src/mbgl/tile/tile.hpp - src/mbgl/tile/tile_cache.cpp - src/mbgl/tile/tile_cache.hpp - src/mbgl/tile/tile_id_hash.cpp - src/mbgl/tile/tile_id_io.cpp - src/mbgl/tile/tile_loader.hpp - src/mbgl/tile/tile_loader_impl.hpp - src/mbgl/tile/tile_observer.hpp - src/mbgl/tile/vector_tile.cpp - src/mbgl/tile/vector_tile.hpp - src/mbgl/tile/vector_tile_data.cpp - src/mbgl/tile/vector_tile_data.hpp - - # util - include/mbgl/util/async_request.hpp - include/mbgl/util/async_task.hpp - include/mbgl/util/char_array_buffer.hpp - include/mbgl/util/chrono.hpp - include/mbgl/util/color.hpp - include/mbgl/util/compression.hpp - include/mbgl/util/constants.hpp - include/mbgl/util/convert.hpp - include/mbgl/util/enum.hpp - include/mbgl/util/event.hpp - include/mbgl/util/exception.hpp - include/mbgl/util/expected.hpp - include/mbgl/util/feature.hpp - include/mbgl/util/font_stack.hpp - include/mbgl/util/geo.hpp - include/mbgl/util/geojson.hpp - include/mbgl/util/geometry.hpp - include/mbgl/util/ignore.hpp - include/mbgl/util/image.hpp - include/mbgl/util/immutable.hpp - include/mbgl/util/indexed_tuple.hpp - include/mbgl/util/interpolate.hpp - include/mbgl/util/logging.hpp - include/mbgl/util/noncopyable.hpp - include/mbgl/util/optional.hpp - include/mbgl/util/peer.hpp - include/mbgl/util/platform.hpp - include/mbgl/util/premultiply.hpp - include/mbgl/util/projection.hpp - include/mbgl/util/range.hpp - include/mbgl/util/run_loop.hpp - include/mbgl/util/size.hpp - include/mbgl/util/string.hpp - include/mbgl/util/thread.hpp - include/mbgl/util/tileset.hpp - include/mbgl/util/timer.hpp - include/mbgl/util/traits.hpp - include/mbgl/util/tuple.hpp - include/mbgl/util/type_list.hpp - include/mbgl/util/unitbezier.hpp - include/mbgl/util/util.hpp - include/mbgl/util/variant.hpp - include/mbgl/util/work_request.hpp - include/mbgl/util/work_task.hpp - include/mbgl/util/work_task_impl.hpp - src/mbgl/util/chrono.cpp - src/mbgl/util/clip_id.cpp - src/mbgl/util/clip_id.hpp - src/mbgl/util/color.cpp - src/mbgl/util/compression.cpp - src/mbgl/util/constants.cpp - src/mbgl/util/convert.cpp - src/mbgl/util/dtoa.cpp - src/mbgl/util/dtoa.hpp - src/mbgl/util/event.cpp - src/mbgl/util/fnv_hash.hpp - src/mbgl/util/font_stack.cpp - src/mbgl/util/geo.cpp - src/mbgl/util/geojson_impl.cpp - src/mbgl/util/grid_index.cpp - src/mbgl/util/grid_index.hpp - src/mbgl/util/http_header.cpp - src/mbgl/util/http_header.hpp - src/mbgl/util/http_timeout.cpp - src/mbgl/util/http_timeout.hpp - src/mbgl/util/i18n.cpp - src/mbgl/util/i18n.hpp - src/mbgl/util/interpolate.cpp - src/mbgl/util/intersection_tests.cpp - src/mbgl/util/intersection_tests.hpp - src/mbgl/util/io.cpp - src/mbgl/util/io.hpp - src/mbgl/util/logging.cpp - src/mbgl/util/longest_common_subsequence.hpp - src/mbgl/util/mapbox.cpp - src/mbgl/util/mapbox.hpp - src/mbgl/util/mat2.cpp - src/mbgl/util/mat2.hpp - src/mbgl/util/mat3.cpp - src/mbgl/util/mat3.hpp - src/mbgl/util/mat4.cpp - src/mbgl/util/mat4.hpp - src/mbgl/util/math.hpp - src/mbgl/util/offscreen_texture.cpp - src/mbgl/util/offscreen_texture.hpp - src/mbgl/util/premultiply.cpp - src/mbgl/util/rapidjson.hpp - src/mbgl/util/rect.hpp - src/mbgl/util/std.hpp - src/mbgl/util/stopwatch.cpp - src/mbgl/util/stopwatch.hpp - src/mbgl/util/string.cpp - src/mbgl/util/thread_local.hpp - src/mbgl/util/tile_coordinate.hpp - src/mbgl/util/tile_cover.cpp - src/mbgl/util/tile_cover.hpp - src/mbgl/util/tile_cover_impl.cpp - src/mbgl/util/tile_cover_impl.hpp - src/mbgl/util/tile_range.hpp - src/mbgl/util/tiny_sdf.cpp - src/mbgl/util/tiny_sdf.hpp - src/mbgl/util/token.hpp - src/mbgl/util/url.cpp - src/mbgl/util/url.hpp - src/mbgl/util/utf.hpp - src/mbgl/util/version.cpp - src/mbgl/util/version.hpp - src/mbgl/util/work_request.cpp - -) diff --git a/cmake/core-files.txt b/cmake/core-files.txt new file mode 100644 index 0000000000..be80bf677a --- /dev/null +++ b/cmake/core-files.txt @@ -0,0 +1,765 @@ +# This file is generated. Do not edit. Regenerate this with scripts/generate-cmake-files.js + +# actor +include/mbgl/actor/actor.hpp +include/mbgl/actor/actor_ref.hpp +include/mbgl/actor/aspiring_actor.hpp +include/mbgl/actor/established_actor.hpp +include/mbgl/actor/mailbox.hpp +include/mbgl/actor/message.hpp +include/mbgl/actor/scheduler.hpp +src/mbgl/actor/mailbox.cpp +src/mbgl/actor/scheduler.cpp + +# algorithm +src/mbgl/algorithm/covered_by_children.hpp +src/mbgl/algorithm/generate_clip_ids.cpp +src/mbgl/algorithm/generate_clip_ids.hpp +src/mbgl/algorithm/generate_clip_ids_impl.hpp +src/mbgl/algorithm/update_renderables.hpp +src/mbgl/algorithm/update_tile_masks.hpp + +# annotation +include/mbgl/annotation/annotation.hpp +src/mbgl/annotation/annotation_manager.cpp +src/mbgl/annotation/annotation_manager.hpp +src/mbgl/annotation/annotation_source.cpp +src/mbgl/annotation/annotation_source.hpp +src/mbgl/annotation/annotation_tile.cpp +src/mbgl/annotation/annotation_tile.hpp +src/mbgl/annotation/fill_annotation_impl.cpp +src/mbgl/annotation/fill_annotation_impl.hpp +src/mbgl/annotation/line_annotation_impl.cpp +src/mbgl/annotation/line_annotation_impl.hpp +src/mbgl/annotation/render_annotation_source.cpp +src/mbgl/annotation/render_annotation_source.hpp +src/mbgl/annotation/shape_annotation_impl.cpp +src/mbgl/annotation/shape_annotation_impl.hpp +src/mbgl/annotation/symbol_annotation_impl.cpp +src/mbgl/annotation/symbol_annotation_impl.hpp + +# csscolorparser +src/csscolorparser/csscolorparser.cpp +src/csscolorparser/csscolorparser.hpp + +# geometry +src/mbgl/geometry/anchor.hpp +src/mbgl/geometry/debug_font_data.hpp +src/mbgl/geometry/dem_data.cpp +src/mbgl/geometry/dem_data.hpp +src/mbgl/geometry/feature_index.cpp +src/mbgl/geometry/feature_index.hpp +src/mbgl/geometry/line_atlas.cpp +src/mbgl/geometry/line_atlas.hpp + +# gl +src/mbgl/gl/attribute.cpp +src/mbgl/gl/attribute.hpp +src/mbgl/gl/color_mode.cpp +src/mbgl/gl/color_mode.hpp +src/mbgl/gl/context.cpp +src/mbgl/gl/context.hpp +src/mbgl/gl/debugging.cpp +src/mbgl/gl/debugging.hpp +src/mbgl/gl/debugging_extension.cpp +src/mbgl/gl/debugging_extension.hpp +src/mbgl/gl/depth_mode.cpp +src/mbgl/gl/depth_mode.hpp +src/mbgl/gl/draw_mode.hpp +src/mbgl/gl/extension.hpp +src/mbgl/gl/features.hpp +src/mbgl/gl/framebuffer.hpp +src/mbgl/gl/gl.cpp +src/mbgl/gl/gl.hpp +src/mbgl/gl/index_buffer.hpp +src/mbgl/gl/object.cpp +src/mbgl/gl/object.hpp +src/mbgl/gl/primitives.hpp +src/mbgl/gl/program.hpp +src/mbgl/gl/program_binary_extension.hpp +src/mbgl/gl/renderbuffer.hpp +src/mbgl/gl/state.hpp +src/mbgl/gl/stencil_mode.cpp +src/mbgl/gl/stencil_mode.hpp +src/mbgl/gl/texture.hpp +src/mbgl/gl/types.hpp +src/mbgl/gl/uniform.cpp +src/mbgl/gl/uniform.hpp +src/mbgl/gl/value.cpp +src/mbgl/gl/value.hpp +src/mbgl/gl/vertex_array.cpp +src/mbgl/gl/vertex_array.hpp +src/mbgl/gl/vertex_array_extension.hpp +src/mbgl/gl/vertex_buffer.hpp + +# layout +src/mbgl/layout/clip_lines.cpp +src/mbgl/layout/clip_lines.hpp +src/mbgl/layout/merge_lines.cpp +src/mbgl/layout/merge_lines.hpp +src/mbgl/layout/symbol_feature.hpp +src/mbgl/layout/symbol_instance.cpp +src/mbgl/layout/symbol_instance.hpp +src/mbgl/layout/symbol_layout.cpp +src/mbgl/layout/symbol_layout.hpp +src/mbgl/layout/symbol_projection.cpp +src/mbgl/layout/symbol_projection.hpp + +# map +include/mbgl/map/camera.hpp +include/mbgl/map/change.hpp +include/mbgl/map/map.hpp +include/mbgl/map/map_observer.hpp +include/mbgl/map/mode.hpp +src/mbgl/map/map.cpp +src/mbgl/map/transform.cpp +src/mbgl/map/transform.hpp +src/mbgl/map/transform_state.cpp +src/mbgl/map/transform_state.hpp +src/mbgl/map/zoom_history.hpp + +# math +include/mbgl/math/clamp.hpp +include/mbgl/math/log2.hpp +include/mbgl/math/minmax.hpp +include/mbgl/math/wrap.hpp +src/mbgl/math/log2.cpp + +# parsedate +src/parsedate/parsedate.cpp +src/parsedate/parsedate.hpp + +# programs +src/mbgl/programs/attributes.hpp +src/mbgl/programs/background_program.cpp +src/mbgl/programs/background_program.hpp +src/mbgl/programs/binary_program.cpp +src/mbgl/programs/binary_program.hpp +src/mbgl/programs/circle_program.cpp +src/mbgl/programs/circle_program.hpp +src/mbgl/programs/clipping_mask_program.hpp +src/mbgl/programs/collision_box_program.cpp +src/mbgl/programs/collision_box_program.hpp +src/mbgl/programs/debug_program.hpp +src/mbgl/programs/extrusion_texture_program.cpp +src/mbgl/programs/extrusion_texture_program.hpp +src/mbgl/programs/fill_extrusion_program.cpp +src/mbgl/programs/fill_extrusion_program.hpp +src/mbgl/programs/fill_program.cpp +src/mbgl/programs/fill_program.hpp +src/mbgl/programs/heatmap_program.cpp +src/mbgl/programs/heatmap_program.hpp +src/mbgl/programs/heatmap_texture_program.cpp +src/mbgl/programs/heatmap_texture_program.hpp +src/mbgl/programs/hillshade_prepare_program.cpp +src/mbgl/programs/hillshade_prepare_program.hpp +src/mbgl/programs/hillshade_program.cpp +src/mbgl/programs/hillshade_program.hpp +src/mbgl/programs/line_program.cpp +src/mbgl/programs/line_program.hpp +src/mbgl/programs/program.hpp +src/mbgl/programs/program_parameters.cpp +src/mbgl/programs/program_parameters.hpp +src/mbgl/programs/programs.hpp +src/mbgl/programs/raster_program.cpp +src/mbgl/programs/raster_program.hpp +src/mbgl/programs/segment.hpp +src/mbgl/programs/symbol_program.cpp +src/mbgl/programs/symbol_program.hpp +src/mbgl/programs/uniforms.hpp + +# renderer +include/mbgl/renderer/backend_scope.hpp +include/mbgl/renderer/mode.hpp +include/mbgl/renderer/query.hpp +include/mbgl/renderer/renderer.hpp +include/mbgl/renderer/renderer_backend.hpp +include/mbgl/renderer/renderer_frontend.hpp +include/mbgl/renderer/renderer_observer.hpp +src/mbgl/renderer/backend_scope.cpp +src/mbgl/renderer/bucket.hpp +src/mbgl/renderer/bucket_parameters.cpp +src/mbgl/renderer/bucket_parameters.hpp +src/mbgl/renderer/cross_faded_property_evaluator.cpp +src/mbgl/renderer/cross_faded_property_evaluator.hpp +src/mbgl/renderer/data_driven_property_evaluator.hpp +src/mbgl/renderer/group_by_layout.cpp +src/mbgl/renderer/group_by_layout.hpp +src/mbgl/renderer/image_atlas.cpp +src/mbgl/renderer/image_atlas.hpp +src/mbgl/renderer/image_manager.cpp +src/mbgl/renderer/image_manager.hpp +src/mbgl/renderer/paint_parameters.cpp +src/mbgl/renderer/paint_parameters.hpp +src/mbgl/renderer/paint_property_binder.hpp +src/mbgl/renderer/paint_property_statistics.hpp +src/mbgl/renderer/possibly_evaluated_property_value.hpp +src/mbgl/renderer/property_evaluation_parameters.hpp +src/mbgl/renderer/property_evaluator.hpp +src/mbgl/renderer/render_layer.cpp +src/mbgl/renderer/render_layer.hpp +src/mbgl/renderer/render_light.cpp +src/mbgl/renderer/render_light.hpp +src/mbgl/renderer/render_pass.hpp +src/mbgl/renderer/render_source.cpp +src/mbgl/renderer/render_source.hpp +src/mbgl/renderer/render_source_observer.hpp +src/mbgl/renderer/render_static_data.cpp +src/mbgl/renderer/render_static_data.hpp +src/mbgl/renderer/render_tile.cpp +src/mbgl/renderer/render_tile.hpp +src/mbgl/renderer/renderer.cpp +src/mbgl/renderer/renderer_backend.cpp +src/mbgl/renderer/renderer_impl.cpp +src/mbgl/renderer/renderer_impl.hpp +src/mbgl/renderer/style_diff.cpp +src/mbgl/renderer/style_diff.hpp +src/mbgl/renderer/tile_mask.hpp +src/mbgl/renderer/tile_parameters.hpp +src/mbgl/renderer/tile_pyramid.cpp +src/mbgl/renderer/tile_pyramid.hpp +src/mbgl/renderer/transition_parameters.hpp +src/mbgl/renderer/update_parameters.hpp + +# renderer/buckets +src/mbgl/renderer/buckets/circle_bucket.cpp +src/mbgl/renderer/buckets/circle_bucket.hpp +src/mbgl/renderer/buckets/debug_bucket.cpp +src/mbgl/renderer/buckets/debug_bucket.hpp +src/mbgl/renderer/buckets/fill_bucket.cpp +src/mbgl/renderer/buckets/fill_bucket.hpp +src/mbgl/renderer/buckets/fill_extrusion_bucket.cpp +src/mbgl/renderer/buckets/fill_extrusion_bucket.hpp +src/mbgl/renderer/buckets/heatmap_bucket.cpp +src/mbgl/renderer/buckets/heatmap_bucket.hpp +src/mbgl/renderer/buckets/hillshade_bucket.cpp +src/mbgl/renderer/buckets/hillshade_bucket.hpp +src/mbgl/renderer/buckets/line_bucket.cpp +src/mbgl/renderer/buckets/line_bucket.hpp +src/mbgl/renderer/buckets/raster_bucket.cpp +src/mbgl/renderer/buckets/raster_bucket.hpp +src/mbgl/renderer/buckets/symbol_bucket.cpp +src/mbgl/renderer/buckets/symbol_bucket.hpp + +# renderer/layers +src/mbgl/renderer/layers/render_background_layer.cpp +src/mbgl/renderer/layers/render_background_layer.hpp +src/mbgl/renderer/layers/render_circle_layer.cpp +src/mbgl/renderer/layers/render_circle_layer.hpp +src/mbgl/renderer/layers/render_custom_layer.cpp +src/mbgl/renderer/layers/render_custom_layer.hpp +src/mbgl/renderer/layers/render_fill_extrusion_layer.cpp +src/mbgl/renderer/layers/render_fill_extrusion_layer.hpp +src/mbgl/renderer/layers/render_fill_layer.cpp +src/mbgl/renderer/layers/render_fill_layer.hpp +src/mbgl/renderer/layers/render_heatmap_layer.cpp +src/mbgl/renderer/layers/render_heatmap_layer.hpp +src/mbgl/renderer/layers/render_hillshade_layer.cpp +src/mbgl/renderer/layers/render_hillshade_layer.hpp +src/mbgl/renderer/layers/render_line_layer.cpp +src/mbgl/renderer/layers/render_line_layer.hpp +src/mbgl/renderer/layers/render_raster_layer.cpp +src/mbgl/renderer/layers/render_raster_layer.hpp +src/mbgl/renderer/layers/render_symbol_layer.cpp +src/mbgl/renderer/layers/render_symbol_layer.hpp + +# renderer/sources +src/mbgl/renderer/sources/render_custom_geometry_source.cpp +src/mbgl/renderer/sources/render_custom_geometry_source.hpp +src/mbgl/renderer/sources/render_geojson_source.cpp +src/mbgl/renderer/sources/render_geojson_source.hpp +src/mbgl/renderer/sources/render_image_source.cpp +src/mbgl/renderer/sources/render_image_source.hpp +src/mbgl/renderer/sources/render_raster_dem_source.cpp +src/mbgl/renderer/sources/render_raster_dem_source.hpp +src/mbgl/renderer/sources/render_raster_source.cpp +src/mbgl/renderer/sources/render_raster_source.hpp +src/mbgl/renderer/sources/render_vector_source.cpp +src/mbgl/renderer/sources/render_vector_source.hpp + +# shaders +src/mbgl/shaders/background.cpp +src/mbgl/shaders/background.hpp +src/mbgl/shaders/background_pattern.cpp +src/mbgl/shaders/background_pattern.hpp +src/mbgl/shaders/circle.cpp +src/mbgl/shaders/circle.hpp +src/mbgl/shaders/clipping_mask.cpp +src/mbgl/shaders/clipping_mask.hpp +src/mbgl/shaders/collision_box.cpp +src/mbgl/shaders/collision_box.hpp +src/mbgl/shaders/collision_circle.cpp +src/mbgl/shaders/collision_circle.hpp +src/mbgl/shaders/debug.cpp +src/mbgl/shaders/debug.hpp +src/mbgl/shaders/extrusion_texture.cpp +src/mbgl/shaders/extrusion_texture.hpp +src/mbgl/shaders/fill.cpp +src/mbgl/shaders/fill.hpp +src/mbgl/shaders/fill_extrusion.cpp +src/mbgl/shaders/fill_extrusion.hpp +src/mbgl/shaders/fill_extrusion_pattern.cpp +src/mbgl/shaders/fill_extrusion_pattern.hpp +src/mbgl/shaders/fill_outline.cpp +src/mbgl/shaders/fill_outline.hpp +src/mbgl/shaders/fill_outline_pattern.cpp +src/mbgl/shaders/fill_outline_pattern.hpp +src/mbgl/shaders/fill_pattern.cpp +src/mbgl/shaders/fill_pattern.hpp +src/mbgl/shaders/heatmap.cpp +src/mbgl/shaders/heatmap.hpp +src/mbgl/shaders/heatmap_texture.cpp +src/mbgl/shaders/heatmap_texture.hpp +src/mbgl/shaders/hillshade.cpp +src/mbgl/shaders/hillshade.hpp +src/mbgl/shaders/hillshade_prepare.cpp +src/mbgl/shaders/hillshade_prepare.hpp +src/mbgl/shaders/line.cpp +src/mbgl/shaders/line.hpp +src/mbgl/shaders/line_pattern.cpp +src/mbgl/shaders/line_pattern.hpp +src/mbgl/shaders/line_sdf.cpp +src/mbgl/shaders/line_sdf.hpp +src/mbgl/shaders/preludes.cpp +src/mbgl/shaders/preludes.hpp +src/mbgl/shaders/raster.cpp +src/mbgl/shaders/raster.hpp +src/mbgl/shaders/shaders.cpp +src/mbgl/shaders/shaders.hpp +src/mbgl/shaders/source.cpp +src/mbgl/shaders/source.hpp +src/mbgl/shaders/symbol_icon.cpp +src/mbgl/shaders/symbol_icon.hpp +src/mbgl/shaders/symbol_sdf.cpp +src/mbgl/shaders/symbol_sdf.hpp + +# sprite +src/mbgl/sprite/sprite_loader.cpp +src/mbgl/sprite/sprite_loader.hpp +src/mbgl/sprite/sprite_loader_observer.hpp +src/mbgl/sprite/sprite_loader_worker.cpp +src/mbgl/sprite/sprite_loader_worker.hpp +src/mbgl/sprite/sprite_parser.cpp +src/mbgl/sprite/sprite_parser.hpp + +# storage +include/mbgl/storage/default_file_source.hpp +include/mbgl/storage/file_source.hpp +include/mbgl/storage/network_status.hpp +include/mbgl/storage/offline.hpp +include/mbgl/storage/online_file_source.hpp +include/mbgl/storage/resource.hpp +include/mbgl/storage/resource_transform.hpp +include/mbgl/storage/response.hpp +src/mbgl/storage/asset_file_source.hpp +src/mbgl/storage/http_file_source.hpp +src/mbgl/storage/local_file_source.hpp +src/mbgl/storage/network_status.cpp +src/mbgl/storage/resource.cpp +src/mbgl/storage/resource_transform.cpp +src/mbgl/storage/response.cpp + +# style +include/mbgl/style/color_ramp_property_value.hpp +include/mbgl/style/conversion.hpp +include/mbgl/style/conversion_impl.hpp +include/mbgl/style/filter.hpp +include/mbgl/style/image.hpp +include/mbgl/style/layer.hpp +include/mbgl/style/layer_type.hpp +include/mbgl/style/light.hpp +include/mbgl/style/position.hpp +include/mbgl/style/property_expression.hpp +include/mbgl/style/property_value.hpp +include/mbgl/style/source.hpp +include/mbgl/style/style.hpp +include/mbgl/style/transition_options.hpp +include/mbgl/style/types.hpp +include/mbgl/style/undefined.hpp +src/mbgl/style/collection.hpp +src/mbgl/style/custom_tile_loader.cpp +src/mbgl/style/custom_tile_loader.hpp +src/mbgl/style/filter.cpp +src/mbgl/style/image.cpp +src/mbgl/style/image_impl.cpp +src/mbgl/style/image_impl.hpp +src/mbgl/style/layer.cpp +src/mbgl/style/layer_impl.cpp +src/mbgl/style/layer_impl.hpp +src/mbgl/style/layer_observer.hpp +src/mbgl/style/layout_property.hpp +src/mbgl/style/light.cpp +src/mbgl/style/light_impl.cpp +src/mbgl/style/light_impl.hpp +src/mbgl/style/light_observer.hpp +src/mbgl/style/observer.hpp +src/mbgl/style/paint_property.hpp +src/mbgl/style/parser.cpp +src/mbgl/style/parser.hpp +src/mbgl/style/properties.hpp +src/mbgl/style/rapidjson_conversion.hpp +src/mbgl/style/source.cpp +src/mbgl/style/source_impl.cpp +src/mbgl/style/source_impl.hpp +src/mbgl/style/source_observer.hpp +src/mbgl/style/style.cpp +src/mbgl/style/style_impl.cpp +src/mbgl/style/style_impl.hpp +src/mbgl/style/types.cpp + +# style/conversion +include/mbgl/style/conversion/color_ramp_property_value.hpp +include/mbgl/style/conversion/constant.hpp +include/mbgl/style/conversion/coordinate.hpp +include/mbgl/style/conversion/custom_geometry_source_options.hpp +include/mbgl/style/conversion/filter.hpp +include/mbgl/style/conversion/function.hpp +include/mbgl/style/conversion/geojson.hpp +include/mbgl/style/conversion/geojson_options.hpp +include/mbgl/style/conversion/get_json_type.hpp +include/mbgl/style/conversion/layer.hpp +include/mbgl/style/conversion/light.hpp +include/mbgl/style/conversion/position.hpp +include/mbgl/style/conversion/property_value.hpp +include/mbgl/style/conversion/source.hpp +include/mbgl/style/conversion/tileset.hpp +include/mbgl/style/conversion/transition_options.hpp +src/mbgl/style/conversion/color_ramp_property_value.cpp +src/mbgl/style/conversion/constant.cpp +src/mbgl/style/conversion/coordinate.cpp +src/mbgl/style/conversion/custom_geometry_source_options.cpp +src/mbgl/style/conversion/filter.cpp +src/mbgl/style/conversion/function.cpp +src/mbgl/style/conversion/geojson.cpp +src/mbgl/style/conversion/geojson_options.cpp +src/mbgl/style/conversion/get_json_type.cpp +src/mbgl/style/conversion/json.hpp +src/mbgl/style/conversion/layer.cpp +src/mbgl/style/conversion/light.cpp +src/mbgl/style/conversion/position.cpp +src/mbgl/style/conversion/property_value.cpp +src/mbgl/style/conversion/source.cpp +src/mbgl/style/conversion/stringify.hpp +src/mbgl/style/conversion/tileset.cpp +src/mbgl/style/conversion/transition_options.cpp + +# style/expression +include/mbgl/style/expression/array_assertion.hpp +include/mbgl/style/expression/assertion.hpp +include/mbgl/style/expression/at.hpp +include/mbgl/style/expression/boolean_operator.hpp +include/mbgl/style/expression/case.hpp +include/mbgl/style/expression/check_subtype.hpp +include/mbgl/style/expression/coalesce.hpp +include/mbgl/style/expression/coercion.hpp +include/mbgl/style/expression/collator.hpp +include/mbgl/style/expression/collator_expression.hpp +include/mbgl/style/expression/comparison.hpp +include/mbgl/style/expression/compound_expression.hpp +include/mbgl/style/expression/dsl.hpp +include/mbgl/style/expression/error.hpp +include/mbgl/style/expression/expression.hpp +include/mbgl/style/expression/find_zoom_curve.hpp +include/mbgl/style/expression/get_covering_stops.hpp +include/mbgl/style/expression/interpolate.hpp +include/mbgl/style/expression/interpolator.hpp +include/mbgl/style/expression/is_constant.hpp +include/mbgl/style/expression/is_expression.hpp +include/mbgl/style/expression/length.hpp +include/mbgl/style/expression/let.hpp +include/mbgl/style/expression/literal.hpp +include/mbgl/style/expression/match.hpp +include/mbgl/style/expression/parsing_context.hpp +include/mbgl/style/expression/step.hpp +include/mbgl/style/expression/type.hpp +include/mbgl/style/expression/value.hpp +src/mbgl/style/expression/array_assertion.cpp +src/mbgl/style/expression/assertion.cpp +src/mbgl/style/expression/at.cpp +src/mbgl/style/expression/boolean_operator.cpp +src/mbgl/style/expression/case.cpp +src/mbgl/style/expression/check_subtype.cpp +src/mbgl/style/expression/coalesce.cpp +src/mbgl/style/expression/coercion.cpp +src/mbgl/style/expression/collator_expression.cpp +src/mbgl/style/expression/comparison.cpp +src/mbgl/style/expression/compound_expression.cpp +src/mbgl/style/expression/dsl.cpp +src/mbgl/style/expression/expression.cpp +src/mbgl/style/expression/find_zoom_curve.cpp +src/mbgl/style/expression/get_covering_stops.cpp +src/mbgl/style/expression/interpolate.cpp +src/mbgl/style/expression/is_constant.cpp +src/mbgl/style/expression/is_expression.cpp +src/mbgl/style/expression/length.cpp +src/mbgl/style/expression/let.cpp +src/mbgl/style/expression/literal.cpp +src/mbgl/style/expression/match.cpp +src/mbgl/style/expression/parsing_context.cpp +src/mbgl/style/expression/step.cpp +src/mbgl/style/expression/util.cpp +src/mbgl/style/expression/util.hpp +src/mbgl/style/expression/value.cpp + +# style/layers +include/mbgl/style/layers/background_layer.hpp +include/mbgl/style/layers/circle_layer.hpp +include/mbgl/style/layers/custom_layer.hpp +include/mbgl/style/layers/fill_extrusion_layer.hpp +include/mbgl/style/layers/fill_layer.hpp +include/mbgl/style/layers/heatmap_layer.hpp +include/mbgl/style/layers/hillshade_layer.hpp +include/mbgl/style/layers/line_layer.hpp +include/mbgl/style/layers/raster_layer.hpp +include/mbgl/style/layers/symbol_layer.hpp +src/mbgl/style/layers/background_layer.cpp +src/mbgl/style/layers/background_layer_impl.cpp +src/mbgl/style/layers/background_layer_impl.hpp +src/mbgl/style/layers/background_layer_properties.cpp +src/mbgl/style/layers/background_layer_properties.hpp +src/mbgl/style/layers/circle_layer.cpp +src/mbgl/style/layers/circle_layer_impl.cpp +src/mbgl/style/layers/circle_layer_impl.hpp +src/mbgl/style/layers/circle_layer_properties.cpp +src/mbgl/style/layers/circle_layer_properties.hpp +src/mbgl/style/layers/custom_layer.cpp +src/mbgl/style/layers/custom_layer_impl.cpp +src/mbgl/style/layers/custom_layer_impl.hpp +src/mbgl/style/layers/fill_extrusion_layer.cpp +src/mbgl/style/layers/fill_extrusion_layer_impl.cpp +src/mbgl/style/layers/fill_extrusion_layer_impl.hpp +src/mbgl/style/layers/fill_extrusion_layer_properties.cpp +src/mbgl/style/layers/fill_extrusion_layer_properties.hpp +src/mbgl/style/layers/fill_layer.cpp +src/mbgl/style/layers/fill_layer_impl.cpp +src/mbgl/style/layers/fill_layer_impl.hpp +src/mbgl/style/layers/fill_layer_properties.cpp +src/mbgl/style/layers/fill_layer_properties.hpp +src/mbgl/style/layers/heatmap_layer.cpp +src/mbgl/style/layers/heatmap_layer_impl.cpp +src/mbgl/style/layers/heatmap_layer_impl.hpp +src/mbgl/style/layers/heatmap_layer_properties.cpp +src/mbgl/style/layers/heatmap_layer_properties.hpp +src/mbgl/style/layers/hillshade_layer.cpp +src/mbgl/style/layers/hillshade_layer_impl.cpp +src/mbgl/style/layers/hillshade_layer_impl.hpp +src/mbgl/style/layers/hillshade_layer_properties.cpp +src/mbgl/style/layers/hillshade_layer_properties.hpp +src/mbgl/style/layers/line_layer.cpp +src/mbgl/style/layers/line_layer_impl.cpp +src/mbgl/style/layers/line_layer_impl.hpp +src/mbgl/style/layers/line_layer_properties.cpp +src/mbgl/style/layers/line_layer_properties.hpp +src/mbgl/style/layers/raster_layer.cpp +src/mbgl/style/layers/raster_layer_impl.cpp +src/mbgl/style/layers/raster_layer_impl.hpp +src/mbgl/style/layers/raster_layer_properties.cpp +src/mbgl/style/layers/raster_layer_properties.hpp +src/mbgl/style/layers/symbol_layer.cpp +src/mbgl/style/layers/symbol_layer_impl.cpp +src/mbgl/style/layers/symbol_layer_impl.hpp +src/mbgl/style/layers/symbol_layer_properties.cpp +src/mbgl/style/layers/symbol_layer_properties.hpp + +# style/sources +include/mbgl/style/sources/custom_geometry_source.hpp +include/mbgl/style/sources/geojson_source.hpp +include/mbgl/style/sources/image_source.hpp +include/mbgl/style/sources/raster_dem_source.hpp +include/mbgl/style/sources/raster_source.hpp +include/mbgl/style/sources/vector_source.hpp +src/mbgl/style/sources/custom_geometry_source.cpp +src/mbgl/style/sources/custom_geometry_source_impl.cpp +src/mbgl/style/sources/custom_geometry_source_impl.hpp +src/mbgl/style/sources/geojson_source.cpp +src/mbgl/style/sources/geojson_source_impl.cpp +src/mbgl/style/sources/geojson_source_impl.hpp +src/mbgl/style/sources/image_source.cpp +src/mbgl/style/sources/image_source_impl.cpp +src/mbgl/style/sources/image_source_impl.hpp +src/mbgl/style/sources/raster_dem_source.cpp +src/mbgl/style/sources/raster_source.cpp +src/mbgl/style/sources/raster_source_impl.cpp +src/mbgl/style/sources/raster_source_impl.hpp +src/mbgl/style/sources/vector_source.cpp +src/mbgl/style/sources/vector_source_impl.cpp +src/mbgl/style/sources/vector_source_impl.hpp + +# text +src/mbgl/text/bidi.hpp +src/mbgl/text/check_max_angle.cpp +src/mbgl/text/check_max_angle.hpp +src/mbgl/text/collision_feature.cpp +src/mbgl/text/collision_feature.hpp +src/mbgl/text/collision_index.cpp +src/mbgl/text/collision_index.hpp +src/mbgl/text/cross_tile_symbol_index.cpp +src/mbgl/text/cross_tile_symbol_index.hpp +src/mbgl/text/get_anchors.cpp +src/mbgl/text/get_anchors.hpp +src/mbgl/text/glyph.cpp +src/mbgl/text/glyph.hpp +src/mbgl/text/glyph_atlas.cpp +src/mbgl/text/glyph_atlas.hpp +src/mbgl/text/glyph_manager.cpp +src/mbgl/text/glyph_manager.hpp +src/mbgl/text/glyph_manager_observer.hpp +src/mbgl/text/glyph_pbf.cpp +src/mbgl/text/glyph_pbf.hpp +src/mbgl/text/glyph_range.hpp +src/mbgl/text/language_tag.cpp +src/mbgl/text/language_tag.hpp +src/mbgl/text/local_glyph_rasterizer.hpp +src/mbgl/text/placement.cpp +src/mbgl/text/placement.hpp +src/mbgl/text/quads.cpp +src/mbgl/text/quads.hpp +src/mbgl/text/shaping.cpp +src/mbgl/text/shaping.hpp + +# tile +include/mbgl/tile/tile_id.hpp +include/mbgl/tile/tile_necessity.hpp +src/mbgl/tile/custom_geometry_tile.cpp +src/mbgl/tile/custom_geometry_tile.hpp +src/mbgl/tile/geojson_tile.cpp +src/mbgl/tile/geojson_tile.hpp +src/mbgl/tile/geojson_tile_data.hpp +src/mbgl/tile/geometry_tile.cpp +src/mbgl/tile/geometry_tile.hpp +src/mbgl/tile/geometry_tile_data.cpp +src/mbgl/tile/geometry_tile_data.hpp +src/mbgl/tile/geometry_tile_worker.cpp +src/mbgl/tile/geometry_tile_worker.hpp +src/mbgl/tile/raster_dem_tile.cpp +src/mbgl/tile/raster_dem_tile.hpp +src/mbgl/tile/raster_dem_tile_worker.cpp +src/mbgl/tile/raster_dem_tile_worker.hpp +src/mbgl/tile/raster_tile.cpp +src/mbgl/tile/raster_tile.hpp +src/mbgl/tile/raster_tile_worker.cpp +src/mbgl/tile/raster_tile_worker.hpp +src/mbgl/tile/tile.cpp +src/mbgl/tile/tile.hpp +src/mbgl/tile/tile_cache.cpp +src/mbgl/tile/tile_cache.hpp +src/mbgl/tile/tile_id_hash.cpp +src/mbgl/tile/tile_id_io.cpp +src/mbgl/tile/tile_loader.hpp +src/mbgl/tile/tile_loader_impl.hpp +src/mbgl/tile/tile_observer.hpp +src/mbgl/tile/vector_tile.cpp +src/mbgl/tile/vector_tile.hpp +src/mbgl/tile/vector_tile_data.cpp +src/mbgl/tile/vector_tile_data.hpp + +# util +include/mbgl/util/async_request.hpp +include/mbgl/util/async_task.hpp +include/mbgl/util/char_array_buffer.hpp +include/mbgl/util/chrono.hpp +include/mbgl/util/color.hpp +include/mbgl/util/compression.hpp +include/mbgl/util/constants.hpp +include/mbgl/util/convert.hpp +include/mbgl/util/enum.hpp +include/mbgl/util/event.hpp +include/mbgl/util/exception.hpp +include/mbgl/util/expected.hpp +include/mbgl/util/feature.hpp +include/mbgl/util/font_stack.hpp +include/mbgl/util/geo.hpp +include/mbgl/util/geojson.hpp +include/mbgl/util/geometry.hpp +include/mbgl/util/ignore.hpp +include/mbgl/util/image.hpp +include/mbgl/util/immutable.hpp +include/mbgl/util/indexed_tuple.hpp +include/mbgl/util/interpolate.hpp +include/mbgl/util/logging.hpp +include/mbgl/util/noncopyable.hpp +include/mbgl/util/optional.hpp +include/mbgl/util/peer.hpp +include/mbgl/util/platform.hpp +include/mbgl/util/premultiply.hpp +include/mbgl/util/projection.hpp +include/mbgl/util/range.hpp +include/mbgl/util/run_loop.hpp +include/mbgl/util/size.hpp +include/mbgl/util/string.hpp +include/mbgl/util/thread.hpp +include/mbgl/util/tileset.hpp +include/mbgl/util/timer.hpp +include/mbgl/util/traits.hpp +include/mbgl/util/tuple.hpp +include/mbgl/util/type_list.hpp +include/mbgl/util/unitbezier.hpp +include/mbgl/util/util.hpp +include/mbgl/util/variant.hpp +include/mbgl/util/work_request.hpp +include/mbgl/util/work_task.hpp +include/mbgl/util/work_task_impl.hpp +src/mbgl/util/chrono.cpp +src/mbgl/util/clip_id.cpp +src/mbgl/util/clip_id.hpp +src/mbgl/util/color.cpp +src/mbgl/util/compression.cpp +src/mbgl/util/constants.cpp +src/mbgl/util/convert.cpp +src/mbgl/util/dtoa.cpp +src/mbgl/util/dtoa.hpp +src/mbgl/util/event.cpp +src/mbgl/util/fnv_hash.hpp +src/mbgl/util/font_stack.cpp +src/mbgl/util/geo.cpp +src/mbgl/util/geojson_impl.cpp +src/mbgl/util/grid_index.cpp +src/mbgl/util/grid_index.hpp +src/mbgl/util/http_header.cpp +src/mbgl/util/http_header.hpp +src/mbgl/util/http_timeout.cpp +src/mbgl/util/http_timeout.hpp +src/mbgl/util/i18n.cpp +src/mbgl/util/i18n.hpp +src/mbgl/util/interpolate.cpp +src/mbgl/util/intersection_tests.cpp +src/mbgl/util/intersection_tests.hpp +src/mbgl/util/io.cpp +src/mbgl/util/io.hpp +src/mbgl/util/logging.cpp +src/mbgl/util/longest_common_subsequence.hpp +src/mbgl/util/mapbox.cpp +src/mbgl/util/mapbox.hpp +src/mbgl/util/mat2.cpp +src/mbgl/util/mat2.hpp +src/mbgl/util/mat3.cpp +src/mbgl/util/mat3.hpp +src/mbgl/util/mat4.cpp +src/mbgl/util/mat4.hpp +src/mbgl/util/math.hpp +src/mbgl/util/offscreen_texture.cpp +src/mbgl/util/offscreen_texture.hpp +src/mbgl/util/premultiply.cpp +src/mbgl/util/rapidjson.hpp +src/mbgl/util/rect.hpp +src/mbgl/util/std.hpp +src/mbgl/util/stopwatch.cpp +src/mbgl/util/stopwatch.hpp +src/mbgl/util/string.cpp +src/mbgl/util/thread_local.hpp +src/mbgl/util/tile_coordinate.hpp +src/mbgl/util/tile_cover.cpp +src/mbgl/util/tile_cover.hpp +src/mbgl/util/tile_cover_impl.cpp +src/mbgl/util/tile_cover_impl.hpp +src/mbgl/util/tile_range.hpp +src/mbgl/util/tiny_sdf.cpp +src/mbgl/util/tiny_sdf.hpp +src/mbgl/util/token.hpp +src/mbgl/util/url.cpp +src/mbgl/util/url.hpp +src/mbgl/util/utf.hpp +src/mbgl/util/version.cpp +src/mbgl/util/version.hpp +src/mbgl/util/work_request.cpp + diff --git a/cmake/core.cmake b/cmake/core.cmake index 436c767182..d52f7ba32f 100644 --- a/cmake/core.cmake +++ b/cmake/core.cmake @@ -1,6 +1,5 @@ -add_library(mbgl-core STATIC - ${MBGL_CORE_FILES} -) +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 diff --git a/cmake/files.cmake.ejs b/cmake/files.txt.ejs index 57126509ed..6c210347f6 100644 --- a/cmake/files.cmake.ejs +++ b/cmake/files.txt.ejs @@ -1,13 +1,10 @@ <% - const name = locals.name; const groups = locals.groups; -%> # This file is generated. Do not edit. Regenerate this with scripts/generate-cmake-files.js -set(MBGL_<%- snakeCaseUpper(name) %>_FILES <% for (const key of Object.keys(groups).sort()) { -%> - # <%- key %> - <%- groups[key].sort().join('\n ') %> +# <%- key %> +<%- groups[key].sort().join('\n') %> <% } -%> -) diff --git a/cmake/filesource-files.txt b/cmake/filesource-files.txt new file mode 100644 index 0000000000..9e806d9e54 --- /dev/null +++ b/cmake/filesource-files.txt @@ -0,0 +1,24 @@ +# File source +include/mbgl/storage/default_file_source.hpp +platform/default/default_file_source.cpp +platform/default/mbgl/storage/file_source_request.hpp +platform/default/file_source_request.cpp +include/mbgl/storage/online_file_source.hpp +platform/default/online_file_source.cpp +src/mbgl/storage/http_file_source.hpp +src/mbgl/storage/asset_file_source.hpp +platform/default/asset_file_source.cpp +src/mbgl/storage/local_file_source.hpp +platform/default/local_file_source.cpp + +# Offline +include/mbgl/storage/offline.hpp +platform/default/mbgl/storage/offline.cpp +platform/default/mbgl/storage/offline_database.hpp +platform/default/mbgl/storage/offline_database.cpp +platform/default/mbgl/storage/offline_download.hpp +platform/default/mbgl/storage/offline_download.cpp +platform/default/mbgl/storage/offline_schema.hpp + +# Database +platform/default/sqlite3.hpp diff --git a/cmake/filesource.cmake b/cmake/filesource.cmake index 9b7a4a1138..6486a4af32 100644 --- a/cmake/filesource.cmake +++ b/cmake/filesource.cmake @@ -1,31 +1,7 @@ add_vendor_target(expected INTERFACE) -add_library(mbgl-filesource STATIC - # File source - include/mbgl/storage/default_file_source.hpp - platform/default/default_file_source.cpp - platform/default/mbgl/storage/file_source_request.hpp - platform/default/file_source_request.cpp - include/mbgl/storage/online_file_source.hpp - platform/default/online_file_source.cpp - src/mbgl/storage/http_file_source.hpp - src/mbgl/storage/asset_file_source.hpp - platform/default/asset_file_source.cpp - src/mbgl/storage/local_file_source.hpp - platform/default/local_file_source.cpp - - # Offline - include/mbgl/storage/offline.hpp - platform/default/mbgl/storage/offline.cpp - platform/default/mbgl/storage/offline_database.hpp - platform/default/mbgl/storage/offline_database.cpp - platform/default/mbgl/storage/offline_download.hpp - platform/default/mbgl/storage/offline_download.cpp - platform/default/mbgl/storage/offline_schema.hpp - - # Database - platform/default/sqlite3.hpp -) +load_sources_list(MBGL_FILESOURCE_FILES cmake/filesource-files.txt) +add_library(mbgl-filesource STATIC ${MBGL_FILESOURCE_FILES}) target_add_mason_package(mbgl-filesource PUBLIC geometry) target_add_mason_package(mbgl-filesource PUBLIC variant) diff --git a/cmake/mbgl.cmake b/cmake/mbgl.cmake index 2381c01205..fdb435ccca 100644 --- a/cmake/mbgl.cmake +++ b/cmake/mbgl.cmake @@ -119,6 +119,24 @@ function(create_source_groups target) endforeach() endfunction() +function(load_sources_list VAR FILELIST) + set(_FILES) + file(STRINGS "${FILELIST}" _LINES) + foreach(_LINE IN LISTS _LINES) + string(STRIP "${_LINE}" _LINE) + string(REGEX MATCH "^([^;#]+)" _FILE "${_LINE}") + if (_FILE) + list(APPEND _FILES "${_FILE}") + endif() + endforeach() + set(${VAR} "${_FILES}" PARENT_SCOPE) +endfunction() + +function(target_sources_from_file TARGET TYPE FILELIST) + load_sources_list(_FILELIST "${FILELIST}") + target_sources(${TARGET} ${TYPE} "${_FILELIST}") +endfunction() + # Creates a library target for a vendored dependency function(add_vendor_target NAME TYPE) set(INCLUDE_TYPE "INTERFACE") diff --git a/cmake/test-files.cmake b/cmake/test-files.cmake deleted file mode 100644 index ff659b1cd1..0000000000 --- a/cmake/test-files.cmake +++ /dev/null @@ -1,155 +0,0 @@ -# This file is generated. Do not edit. Regenerate this with scripts/generate-cmake-files.js - -set(MBGL_TEST_FILES - # actor - test/actor/actor.test.cpp - test/actor/actor_ref.test.cpp - - # algorithm - test/algorithm/covered_by_children.test.cpp - test/algorithm/generate_clip_ids.test.cpp - test/algorithm/mock.hpp - test/algorithm/update_renderables.test.cpp - test/algorithm/update_tile_masks.test.cpp - - # api - test/api/annotations.test.cpp - test/api/api_misuse.test.cpp - test/api/custom_geometry_source.test.cpp - test/api/custom_layer.test.cpp - test/api/query.test.cpp - test/api/recycle_map.cpp - - # geometry - test/geometry/dem_data.test.cpp - test/geometry/line_atlas.test.cpp - - # gl - test/gl/bucket.test.cpp - test/gl/context.test.cpp - test/gl/object.test.cpp - - # map - test/map/map.test.cpp - test/map/prefetch.test.cpp - test/map/transform.test.cpp - - # math - test/math/clamp.test.cpp - test/math/minmax.test.cpp - test/math/wrap.test.cpp - - # programs - test/programs/binary_program.test.cpp - test/programs/symbol_program.test.cpp - - # renderer - test/renderer/backend_scope.test.cpp - test/renderer/group_by_layout.test.cpp - test/renderer/image_manager.test.cpp - - # sprite - test/sprite/sprite_loader.test.cpp - test/sprite/sprite_parser.test.cpp - - # storage - test/storage/asset_file_source.test.cpp - test/storage/default_file_source.test.cpp - test/storage/headers.test.cpp - test/storage/http_file_source.test.cpp - test/storage/local_file_source.test.cpp - test/storage/offline.test.cpp - test/storage/offline_database.test.cpp - test/storage/offline_download.test.cpp - test/storage/online_file_source.test.cpp - test/storage/resource.test.cpp - test/storage/sqlite.test.cpp - - # style - test/style/filter.test.cpp - test/style/properties.test.cpp - test/style/property_expression.test.cpp - test/style/source.test.cpp - test/style/style.test.cpp - test/style/style_image.test.cpp - test/style/style_layer.test.cpp - test/style/style_parser.test.cpp - - # style/conversion - test/style/conversion/function.test.cpp - test/style/conversion/geojson_options.test.cpp - test/style/conversion/layer.test.cpp - test/style/conversion/light.test.cpp - test/style/conversion/property_value.test.cpp - test/style/conversion/stringify.test.cpp - test/style/conversion/tileset.test.cpp - - # style/expression - test/style/expression/expression.test.cpp - test/style/expression/util.test.cpp - - # test - test/include/mbgl/test.hpp - test/src/mbgl/test/fake_file_source.hpp - test/src/mbgl/test/fixture_log_observer.cpp - test/src/mbgl/test/fixture_log_observer.hpp - test/src/mbgl/test/getrss.cpp - test/src/mbgl/test/getrss.hpp - test/src/mbgl/test/sqlite3_test_fs.cpp - test/src/mbgl/test/sqlite3_test_fs.hpp - test/src/mbgl/test/stub_file_source.cpp - test/src/mbgl/test/stub_file_source.hpp - test/src/mbgl/test/stub_geometry_tile_feature.hpp - test/src/mbgl/test/stub_layer_observer.hpp - test/src/mbgl/test/stub_map_observer.hpp - test/src/mbgl/test/stub_render_source_observer.hpp - test/src/mbgl/test/stub_style_observer.hpp - test/src/mbgl/test/stub_tile_observer.hpp - test/src/mbgl/test/test.cpp - test/src/mbgl/test/util.cpp - test/src/mbgl/test/util.hpp - - # text - test/text/cross_tile_symbol_index.test.cpp - test/text/glyph_manager.test.cpp - test/text/glyph_pbf.test.cpp - test/text/language_tag.test.cpp - test/text/local_glyph_rasterizer.test.cpp - test/text/quads.test.cpp - - # tile - test/tile/custom_geometry_tile.test.cpp - test/tile/geojson_tile.test.cpp - test/tile/geometry_tile_data.test.cpp - test/tile/raster_dem_tile.test.cpp - test/tile/raster_tile.test.cpp - test/tile/tile_coordinate.test.cpp - test/tile/tile_id.test.cpp - test/tile/vector_tile.test.cpp - - # util - test/util/async_task.test.cpp - test/util/dtoa.test.cpp - test/util/geo.test.cpp - test/util/grid_index.test.cpp - test/util/http_timeout.test.cpp - test/util/image.test.cpp - test/util/mapbox.test.cpp - test/util/memory.test.cpp - test/util/merge_lines.test.cpp - test/util/number_conversions.test.cpp - test/util/offscreen_texture.test.cpp - test/util/peer.test.cpp - test/util/position.test.cpp - test/util/projection.test.cpp - test/util/run_loop.test.cpp - test/util/text_conversions.test.cpp - test/util/thread.test.cpp - test/util/thread_local.test.cpp - test/util/tile_cover.test.cpp - test/util/tile_range.test.cpp - test/util/timer.test.cpp - test/util/token.test.cpp - test/util/url.test.cpp - -) diff --git a/cmake/test-files.txt b/cmake/test-files.txt new file mode 100644 index 0000000000..77a69bb450 --- /dev/null +++ b/cmake/test-files.txt @@ -0,0 +1,153 @@ +# This file is generated. Do not edit. Regenerate this with scripts/generate-cmake-files.js + +# actor +test/actor/actor.test.cpp +test/actor/actor_ref.test.cpp + +# algorithm +test/algorithm/covered_by_children.test.cpp +test/algorithm/generate_clip_ids.test.cpp +test/algorithm/mock.hpp +test/algorithm/update_renderables.test.cpp +test/algorithm/update_tile_masks.test.cpp + +# api +test/api/annotations.test.cpp +test/api/api_misuse.test.cpp +test/api/custom_geometry_source.test.cpp +test/api/custom_layer.test.cpp +test/api/query.test.cpp +test/api/recycle_map.cpp + +# geometry +test/geometry/dem_data.test.cpp +test/geometry/line_atlas.test.cpp + +# gl +test/gl/bucket.test.cpp +test/gl/context.test.cpp +test/gl/object.test.cpp + +# map +test/map/map.test.cpp +test/map/prefetch.test.cpp +test/map/transform.test.cpp + +# math +test/math/clamp.test.cpp +test/math/minmax.test.cpp +test/math/wrap.test.cpp + +# programs +test/programs/binary_program.test.cpp +test/programs/symbol_program.test.cpp + +# renderer +test/renderer/backend_scope.test.cpp +test/renderer/group_by_layout.test.cpp +test/renderer/image_manager.test.cpp + +# sprite +test/sprite/sprite_loader.test.cpp +test/sprite/sprite_parser.test.cpp + +# storage +test/storage/asset_file_source.test.cpp +test/storage/default_file_source.test.cpp +test/storage/headers.test.cpp +test/storage/http_file_source.test.cpp +test/storage/local_file_source.test.cpp +test/storage/offline.test.cpp +test/storage/offline_database.test.cpp +test/storage/offline_download.test.cpp +test/storage/online_file_source.test.cpp +test/storage/resource.test.cpp +test/storage/sqlite.test.cpp + +# style +test/style/filter.test.cpp +test/style/properties.test.cpp +test/style/property_expression.test.cpp +test/style/source.test.cpp +test/style/style.test.cpp +test/style/style_image.test.cpp +test/style/style_layer.test.cpp +test/style/style_parser.test.cpp + +# style/conversion +test/style/conversion/function.test.cpp +test/style/conversion/geojson_options.test.cpp +test/style/conversion/layer.test.cpp +test/style/conversion/light.test.cpp +test/style/conversion/property_value.test.cpp +test/style/conversion/stringify.test.cpp +test/style/conversion/tileset.test.cpp + +# style/expression +test/style/expression/expression.test.cpp +test/style/expression/util.test.cpp + +# test +test/include/mbgl/test.hpp +test/src/mbgl/test/fake_file_source.hpp +test/src/mbgl/test/fixture_log_observer.cpp +test/src/mbgl/test/fixture_log_observer.hpp +test/src/mbgl/test/getrss.cpp +test/src/mbgl/test/getrss.hpp +test/src/mbgl/test/sqlite3_test_fs.cpp +test/src/mbgl/test/sqlite3_test_fs.hpp +test/src/mbgl/test/stub_file_source.cpp +test/src/mbgl/test/stub_file_source.hpp +test/src/mbgl/test/stub_geometry_tile_feature.hpp +test/src/mbgl/test/stub_layer_observer.hpp +test/src/mbgl/test/stub_map_observer.hpp +test/src/mbgl/test/stub_render_source_observer.hpp +test/src/mbgl/test/stub_style_observer.hpp +test/src/mbgl/test/stub_tile_observer.hpp +test/src/mbgl/test/test.cpp +test/src/mbgl/test/util.cpp +test/src/mbgl/test/util.hpp + +# text +test/text/cross_tile_symbol_index.test.cpp +test/text/glyph_manager.test.cpp +test/text/glyph_pbf.test.cpp +test/text/language_tag.test.cpp +test/text/local_glyph_rasterizer.test.cpp +test/text/quads.test.cpp + +# tile +test/tile/custom_geometry_tile.test.cpp +test/tile/geojson_tile.test.cpp +test/tile/geometry_tile_data.test.cpp +test/tile/raster_dem_tile.test.cpp +test/tile/raster_tile.test.cpp +test/tile/tile_coordinate.test.cpp +test/tile/tile_id.test.cpp +test/tile/vector_tile.test.cpp + +# util +test/util/async_task.test.cpp +test/util/dtoa.test.cpp +test/util/geo.test.cpp +test/util/grid_index.test.cpp +test/util/http_timeout.test.cpp +test/util/image.test.cpp +test/util/mapbox.test.cpp +test/util/memory.test.cpp +test/util/merge_lines.test.cpp +test/util/number_conversions.test.cpp +test/util/offscreen_texture.test.cpp +test/util/peer.test.cpp +test/util/position.test.cpp +test/util/projection.test.cpp +test/util/run_loop.test.cpp +test/util/text_conversions.test.cpp +test/util/thread.test.cpp +test/util/thread_local.test.cpp +test/util/tile_cover.test.cpp +test/util/tile_range.test.cpp +test/util/timer.test.cpp +test/util/token.test.cpp +test/util/url.test.cpp + diff --git a/cmake/test.cmake b/cmake/test.cmake index f4309896b8..755edad892 100644 --- a/cmake/test.cmake +++ b/cmake/test.cmake @@ -1,13 +1,10 @@ add_vendor_target(gtest STATIC) +load_sources_list(MBGL_TEST_FILES cmake/test-files.txt) if (MBGL_TEST_TARGET_TYPE STREQUAL "library") - add_library(mbgl-test SHARED - ${MBGL_TEST_FILES} - ) + add_library(mbgl-test SHARED ${MBGL_TEST_FILES}) else() - add_executable(mbgl-test - ${MBGL_TEST_FILES} - ) + add_executable(mbgl-test ${MBGL_TEST_FILES}) endif() diff --git a/platform/android/config.cmake b/platform/android/config.cmake index be9d95ef0a..84c508dd73 100644 --- a/platform/android/config.cmake +++ b/platform/android/config.cmake @@ -1,5 +1,4 @@ add_definitions(-DMBGL_USE_GLES2=1) -include(cmake/test-files.cmake) include(cmake/nunicode.cmake) # Build thin archives. @@ -34,210 +33,7 @@ set(CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_SHARED_LINKER_FLAGS_RELWIT ## mbgl core ## macro(mbgl_platform_core) - target_sources(mbgl-core - # Loop - PRIVATE platform/android/src/async_task.cpp - PRIVATE platform/android/src/run_loop.cpp - PRIVATE platform/android/src/run_loop_impl.hpp - PRIVATE platform/android/src/timer.cpp - - # Misc - PRIVATE platform/android/src/text/collator.cpp - PRIVATE platform/android/src/text/collator_jni.hpp - PRIVATE platform/android/src/text/local_glyph_rasterizer.cpp - PRIVATE platform/android/src/text/local_glyph_rasterizer_jni.hpp - PRIVATE platform/android/src/logging_android.cpp - PRIVATE platform/android/src/thread.cpp - PRIVATE platform/default/string_stdlib.cpp - PRIVATE platform/default/bidi.cpp - PRIVATE platform/default/thread_local.cpp - PRIVATE platform/default/unaccent.cpp - PRIVATE platform/default/unaccent.hpp - PRIVATE platform/default/utf.cpp - - # Image handling - PRIVATE platform/default/png_writer.cpp - PRIVATE platform/android/src/bitmap.cpp - PRIVATE platform/android/src/bitmap.hpp - PRIVATE platform/android/src/bitmap_factory.cpp - PRIVATE platform/android/src/bitmap_factory.hpp - PRIVATE platform/android/src/image.cpp - - # Thread pool - PRIVATE platform/default/mbgl/util/shared_thread_pool.cpp - PRIVATE platform/default/mbgl/util/shared_thread_pool.hpp - PRIVATE platform/default/mbgl/util/default_thread_pool.cpp - PRIVATE platform/default/mbgl/util/default_thread_pool.hpp - - # Rendering - PRIVATE platform/android/src/android_renderer_backend.cpp - PRIVATE platform/android/src/android_renderer_backend.hpp - PRIVATE platform/android/src/android_renderer_frontend.cpp - PRIVATE platform/android/src/android_renderer_frontend.hpp - - # Snapshots (core) - PRIVATE platform/default/mbgl/gl/headless_backend.cpp - PRIVATE platform/default/mbgl/gl/headless_backend.hpp - PRIVATE platform/default/mbgl/gl/headless_frontend.cpp - PRIVATE platform/default/mbgl/gl/headless_frontend.hpp - PRIVATE platform/default/mbgl/map/map_snapshotter.cpp - PRIVATE platform/default/mbgl/map/map_snapshotter.hpp - PRIVATE platform/linux/src/headless_backend_egl.cpp - - # Conversion C++ -> Java - PRIVATE platform/android/src/conversion/constant.hpp - PRIVATE platform/android/src/conversion/conversion.hpp - PRIVATE platform/android/src/style/conversion/property_expression.hpp - PRIVATE platform/android/src/style/conversion/property_value.hpp - PRIVATE platform/android/src/style/conversion/types.hpp - PRIVATE platform/android/src/style/conversion/types_string_values.hpp - PRIVATE platform/android/src/map/camera_position.cpp - PRIVATE platform/android/src/map/camera_position.hpp - PRIVATE platform/android/src/map/image.cpp - PRIVATE platform/android/src/map/image.hpp - - # Style conversion Java -> C++ - PRIVATE platform/android/src/style/android_conversion.hpp - PRIVATE platform/android/src/style/value.cpp - PRIVATE platform/android/src/style/value.hpp - PRIVATE platform/android/src/style/conversion/url_or_tileset.hpp - - # Style - PRIVATE platform/android/src/style/transition_options.cpp - PRIVATE platform/android/src/style/transition_options.hpp - PRIVATE platform/android/src/style/layers/background_layer.cpp - PRIVATE platform/android/src/style/layers/background_layer.hpp - PRIVATE platform/android/src/style/layers/circle_layer.cpp - PRIVATE platform/android/src/style/layers/circle_layer.hpp - PRIVATE platform/android/src/style/layers/custom_layer.cpp - PRIVATE platform/android/src/style/layers/custom_layer.hpp - PRIVATE platform/android/src/style/layers/fill_extrusion_layer.cpp - PRIVATE platform/android/src/style/layers/fill_extrusion_layer.hpp - PRIVATE platform/android/src/style/layers/fill_layer.cpp - PRIVATE platform/android/src/style/layers/fill_layer.hpp - PRIVATE platform/android/src/style/layers/heatmap_layer.cpp - PRIVATE platform/android/src/style/layers/heatmap_layer.hpp - PRIVATE platform/android/src/style/layers/hillshade_layer.cpp - PRIVATE platform/android/src/style/layers/hillshade_layer.hpp - PRIVATE platform/android/src/style/layers/layer.cpp - PRIVATE platform/android/src/style/layers/layer.hpp - PRIVATE platform/android/src/style/layers/layers.cpp - PRIVATE platform/android/src/style/layers/layers.hpp - PRIVATE platform/android/src/style/layers/line_layer.cpp - PRIVATE platform/android/src/style/layers/line_layer.hpp - PRIVATE platform/android/src/style/layers/raster_layer.cpp - PRIVATE platform/android/src/style/layers/raster_layer.hpp - PRIVATE platform/android/src/style/layers/symbol_layer.cpp - PRIVATE platform/android/src/style/layers/symbol_layer.hpp - PRIVATE platform/android/src/style/layers/unknown_layer.cpp - PRIVATE platform/android/src/style/layers/unknown_layer.hpp - PRIVATE platform/android/src/style/sources/geojson_source.cpp - PRIVATE platform/android/src/style/sources/geojson_source.hpp - PRIVATE platform/android/src/style/sources/custom_geometry_source.cpp - PRIVATE platform/android/src/style/sources/custom_geometry_source.hpp - PRIVATE platform/android/src/style/sources/source.cpp - PRIVATE platform/android/src/style/sources/source.hpp - PRIVATE platform/android/src/style/sources/raster_source.cpp - PRIVATE platform/android/src/style/sources/raster_source.hpp - PRIVATE platform/android/src/style/sources/unknown_source.cpp - PRIVATE platform/android/src/style/sources/unknown_source.hpp - PRIVATE platform/android/src/style/sources/vector_source.cpp - PRIVATE platform/android/src/style/sources/vector_source.hpp - PRIVATE platform/android/src/style/sources/image_source.hpp - PRIVATE platform/android/src/style/sources/image_source.cpp - PRIVATE platform/android/src/style/sources/raster_dem_source.cpp - PRIVATE platform/android/src/style/sources/raster_dem_source.hpp - PRIVATE platform/android/src/style/position.cpp - PRIVATE platform/android/src/style/position.hpp - PRIVATE platform/android/src/style/light.cpp - PRIVATE platform/android/src/style/light.hpp - - # Native map - PRIVATE platform/android/src/native_map_view.cpp - PRIVATE platform/android/src/native_map_view.hpp - PRIVATE platform/android/src/map_renderer.cpp - PRIVATE platform/android/src/map_renderer.hpp - PRIVATE platform/android/src/map_renderer_runnable.cpp - PRIVATE platform/android/src/map_renderer_runnable.hpp - - # Java core classes - PRIVATE platform/android/src/java/lang.cpp - PRIVATE platform/android/src/java/lang.hpp - PRIVATE platform/android/src/java/util.cpp - PRIVATE platform/android/src/java/util.hpp - - # Graphics - PRIVATE platform/android/src/graphics/pointf.cpp - PRIVATE platform/android/src/graphics/pointf.hpp - PRIVATE platform/android/src/graphics/rectf.cpp - PRIVATE platform/android/src/graphics/rectf.hpp - - # GeoJSON - PRIVATE platform/android/src/geojson/feature.cpp - PRIVATE platform/android/src/geojson/feature.hpp - PRIVATE platform/android/src/geojson/feature_collection.cpp - PRIVATE platform/android/src/geojson/feature_collection.hpp - PRIVATE platform/android/src/geojson/geometry.cpp - PRIVATE platform/android/src/geojson/geometry.hpp - PRIVATE platform/android/src/geojson/geometry_collection.cpp - PRIVATE platform/android/src/geojson/geometry_collection.hpp - PRIVATE platform/android/src/geojson/line_string.cpp - PRIVATE platform/android/src/geojson/line_string.hpp - PRIVATE platform/android/src/geojson/multi_line_string.cpp - PRIVATE platform/android/src/geojson/multi_line_string.hpp - PRIVATE platform/android/src/geojson/multi_point.cpp - PRIVATE platform/android/src/geojson/multi_point.hpp - PRIVATE platform/android/src/geojson/multi_polygon.cpp - PRIVATE platform/android/src/geojson/multi_polygon.hpp - PRIVATE platform/android/src/geojson/point.cpp - PRIVATE platform/android/src/geojson/point.hpp - PRIVATE platform/android/src/geojson/polygon.cpp - PRIVATE platform/android/src/geojson/polygon.hpp - - # Geometry - PRIVATE platform/android/src/geometry/lat_lng.cpp - PRIVATE platform/android/src/geometry/lat_lng.hpp - PRIVATE platform/android/src/geometry/lat_lng_bounds.cpp - PRIVATE platform/android/src/geometry/lat_lng_bounds.hpp - PRIVATE platform/android/src/geometry/lat_lng_quad.cpp - PRIVATE platform/android/src/geometry/lat_lng_quad.hpp - PRIVATE platform/android/src/geometry/projected_meters.cpp - PRIVATE platform/android/src/geometry/projected_meters.hpp - - # GSon - PRIVATE platform/android/src/gson/json_array.cpp - PRIVATE platform/android/src/gson/json_array.hpp - PRIVATE platform/android/src/gson/json_element.cpp - PRIVATE platform/android/src/gson/json_element.hpp - PRIVATE platform/android/src/gson/json_object.cpp - PRIVATE platform/android/src/gson/json_object.hpp - PRIVATE platform/android/src/gson/json_primitive.cpp - PRIVATE platform/android/src/gson/json_primitive.hpp - - # Annotation - PRIVATE platform/android/src/annotation/marker.cpp - PRIVATE platform/android/src/annotation/marker.hpp - PRIVATE platform/android/src/annotation/polygon.cpp - PRIVATE platform/android/src/annotation/polygon.hpp - PRIVATE platform/android/src/annotation/polyline.cpp - PRIVATE platform/android/src/annotation/polyline.hpp - - # Snapshots (SDK) - PRIVATE platform/android/src/snapshotter/map_snapshotter.cpp - PRIVATE platform/android/src/snapshotter/map_snapshotter.hpp - PRIVATE platform/android/src/snapshotter/map_snapshot.cpp - PRIVATE platform/android/src/snapshotter/map_snapshot.hpp - - # Main jni bindings - PRIVATE platform/android/src/attach_env.cpp - PRIVATE platform/android/src/attach_env.hpp - PRIVATE platform/android/src/java_types.cpp - PRIVATE platform/android/src/java_types.hpp - - # Main entry point - PRIVATE platform/android/src/jni.hpp - PRIVATE platform/android/src/jni.cpp - ) + target_sources_from_file(mbgl-core PRIVATE platform/android/core-files.txt) target_include_directories(mbgl-core PUBLIC platform/default @@ -265,36 +61,7 @@ endmacro() macro(mbgl_filesource) - target_sources(mbgl-filesource - # File source - PRIVATE platform/android/src/http_file_source.cpp - PRIVATE platform/android/src/asset_manager.hpp - PRIVATE platform/android/src/asset_manager_file_source.cpp - PRIVATE platform/android/src/asset_manager_file_source.hpp - - # FileSource holder - PRIVATE platform/android/src/file_source.cpp - PRIVATE platform/android/src/file_source.hpp - - # Connectivity - PRIVATE platform/android/src/connectivity_listener.cpp - PRIVATE platform/android/src/connectivity_listener.hpp - - # Offline - PRIVATE platform/android/src/offline/offline_manager.cpp - PRIVATE platform/android/src/offline/offline_manager.hpp - PRIVATE platform/android/src/offline/offline_region.cpp - PRIVATE platform/android/src/offline/offline_region.hpp - PRIVATE platform/android/src/offline/offline_region_definition.cpp - PRIVATE platform/android/src/offline/offline_region_definition.hpp - PRIVATE platform/android/src/offline/offline_region_error.cpp - PRIVATE platform/android/src/offline/offline_region_error.hpp - PRIVATE platform/android/src/offline/offline_region_status.cpp - PRIVATE platform/android/src/offline/offline_region_status.hpp - - # Database - PRIVATE platform/default/sqlite3.cpp - ) + target_sources_from_file(mbgl-filesource PRIVATE platform/android/filesource-files.txt) target_add_mason_package(mbgl-filesource PUBLIC sqlite) target_add_mason_package(mbgl-filesource PUBLIC jni.hpp) diff --git a/platform/android/core-files.txt b/platform/android/core-files.txt new file mode 100644 index 0000000000..7d86cb5615 --- /dev/null +++ b/platform/android/core-files.txt @@ -0,0 +1,202 @@ +# Loop +platform/android/src/async_task.cpp +platform/android/src/run_loop.cpp +platform/android/src/run_loop_impl.hpp +platform/android/src/timer.cpp + +# Misc +platform/android/src/text/collator.cpp +platform/android/src/text/collator_jni.hpp +platform/android/src/text/local_glyph_rasterizer.cpp +platform/android/src/text/local_glyph_rasterizer_jni.hpp +platform/android/src/logging_android.cpp +platform/android/src/thread.cpp +platform/default/string_stdlib.cpp +platform/default/bidi.cpp +platform/default/thread_local.cpp +platform/default/unaccent.cpp +platform/default/unaccent.hpp +platform/default/utf.cpp + +# Image handling +platform/default/png_writer.cpp +platform/android/src/bitmap.cpp +platform/android/src/bitmap.hpp +platform/android/src/bitmap_factory.cpp +platform/android/src/bitmap_factory.hpp +platform/android/src/image.cpp + +# Thread pool +platform/default/mbgl/util/shared_thread_pool.cpp +platform/default/mbgl/util/shared_thread_pool.hpp +platform/default/mbgl/util/default_thread_pool.cpp +platform/default/mbgl/util/default_thread_pool.hpp + +# Rendering +platform/android/src/android_renderer_backend.cpp +platform/android/src/android_renderer_backend.hpp +platform/android/src/android_renderer_frontend.cpp +platform/android/src/android_renderer_frontend.hpp + +# Snapshots (core) +platform/default/mbgl/gl/headless_backend.cpp +platform/default/mbgl/gl/headless_backend.hpp +platform/default/mbgl/gl/headless_frontend.cpp +platform/default/mbgl/gl/headless_frontend.hpp +platform/default/mbgl/map/map_snapshotter.cpp +platform/default/mbgl/map/map_snapshotter.hpp +platform/linux/src/headless_backend_egl.cpp + +# Conversion C++ -> Java +platform/android/src/conversion/constant.hpp +platform/android/src/conversion/conversion.hpp +platform/android/src/style/conversion/property_expression.hpp +platform/android/src/style/conversion/property_value.hpp +platform/android/src/style/conversion/types.hpp +platform/android/src/style/conversion/types_string_values.hpp +platform/android/src/map/camera_position.cpp +platform/android/src/map/camera_position.hpp +platform/android/src/map/image.cpp +platform/android/src/map/image.hpp + +# Style conversion Java -> C++ +platform/android/src/style/android_conversion.hpp +platform/android/src/style/value.cpp +platform/android/src/style/value.hpp +platform/android/src/style/conversion/url_or_tileset.hpp + +# Style +platform/android/src/style/transition_options.cpp +platform/android/src/style/transition_options.hpp +platform/android/src/style/layers/background_layer.cpp +platform/android/src/style/layers/background_layer.hpp +platform/android/src/style/layers/circle_layer.cpp +platform/android/src/style/layers/circle_layer.hpp +platform/android/src/style/layers/custom_layer.cpp +platform/android/src/style/layers/custom_layer.hpp +platform/android/src/style/layers/fill_extrusion_layer.cpp +platform/android/src/style/layers/fill_extrusion_layer.hpp +platform/android/src/style/layers/fill_layer.cpp +platform/android/src/style/layers/fill_layer.hpp +platform/android/src/style/layers/heatmap_layer.cpp +platform/android/src/style/layers/heatmap_layer.hpp +platform/android/src/style/layers/hillshade_layer.cpp +platform/android/src/style/layers/hillshade_layer.hpp +platform/android/src/style/layers/layer.cpp +platform/android/src/style/layers/layer.hpp +platform/android/src/style/layers/layers.cpp +platform/android/src/style/layers/layers.hpp +platform/android/src/style/layers/line_layer.cpp +platform/android/src/style/layers/line_layer.hpp +platform/android/src/style/layers/raster_layer.cpp +platform/android/src/style/layers/raster_layer.hpp +platform/android/src/style/layers/symbol_layer.cpp +platform/android/src/style/layers/symbol_layer.hpp +platform/android/src/style/layers/unknown_layer.cpp +platform/android/src/style/layers/unknown_layer.hpp +platform/android/src/style/sources/geojson_source.cpp +platform/android/src/style/sources/geojson_source.hpp +platform/android/src/style/sources/custom_geometry_source.cpp +platform/android/src/style/sources/custom_geometry_source.hpp +platform/android/src/style/sources/source.cpp +platform/android/src/style/sources/source.hpp +platform/android/src/style/sources/raster_source.cpp +platform/android/src/style/sources/raster_source.hpp +platform/android/src/style/sources/unknown_source.cpp +platform/android/src/style/sources/unknown_source.hpp +platform/android/src/style/sources/vector_source.cpp +platform/android/src/style/sources/vector_source.hpp +platform/android/src/style/sources/image_source.hpp +platform/android/src/style/sources/image_source.cpp +platform/android/src/style/sources/raster_dem_source.cpp +platform/android/src/style/sources/raster_dem_source.hpp +platform/android/src/style/position.cpp +platform/android/src/style/position.hpp +platform/android/src/style/light.cpp +platform/android/src/style/light.hpp + +# Native map +platform/android/src/native_map_view.cpp +platform/android/src/native_map_view.hpp +platform/android/src/map_renderer.cpp +platform/android/src/map_renderer.hpp +platform/android/src/map_renderer_runnable.cpp +platform/android/src/map_renderer_runnable.hpp + +# Java core classes +platform/android/src/java/lang.cpp +platform/android/src/java/lang.hpp +platform/android/src/java/util.cpp +platform/android/src/java/util.hpp + +# Graphics +platform/android/src/graphics/pointf.cpp +platform/android/src/graphics/pointf.hpp +platform/android/src/graphics/rectf.cpp +platform/android/src/graphics/rectf.hpp + +# GeoJSON +platform/android/src/geojson/feature.cpp +platform/android/src/geojson/feature.hpp +platform/android/src/geojson/feature_collection.cpp +platform/android/src/geojson/feature_collection.hpp +platform/android/src/geojson/geometry.cpp +platform/android/src/geojson/geometry.hpp +platform/android/src/geojson/geometry_collection.cpp +platform/android/src/geojson/geometry_collection.hpp +platform/android/src/geojson/line_string.cpp +platform/android/src/geojson/line_string.hpp +platform/android/src/geojson/multi_line_string.cpp +platform/android/src/geojson/multi_line_string.hpp +platform/android/src/geojson/multi_point.cpp +platform/android/src/geojson/multi_point.hpp +platform/android/src/geojson/multi_polygon.cpp +platform/android/src/geojson/multi_polygon.hpp +platform/android/src/geojson/point.cpp +platform/android/src/geojson/point.hpp +platform/android/src/geojson/polygon.cpp +platform/android/src/geojson/polygon.hpp + +# Geometry +platform/android/src/geometry/lat_lng.cpp +platform/android/src/geometry/lat_lng.hpp +platform/android/src/geometry/lat_lng_bounds.cpp +platform/android/src/geometry/lat_lng_bounds.hpp +platform/android/src/geometry/lat_lng_quad.cpp +platform/android/src/geometry/lat_lng_quad.hpp +platform/android/src/geometry/projected_meters.cpp +platform/android/src/geometry/projected_meters.hpp + +# GSon +platform/android/src/gson/json_array.cpp +platform/android/src/gson/json_array.hpp +platform/android/src/gson/json_element.cpp +platform/android/src/gson/json_element.hpp +platform/android/src/gson/json_object.cpp +platform/android/src/gson/json_object.hpp +platform/android/src/gson/json_primitive.cpp +platform/android/src/gson/json_primitive.hpp + +# Annotation +platform/android/src/annotation/marker.cpp +platform/android/src/annotation/marker.hpp +platform/android/src/annotation/polygon.cpp +platform/android/src/annotation/polygon.hpp +platform/android/src/annotation/polyline.cpp +platform/android/src/annotation/polyline.hpp + +# Snapshots (SDK) +platform/android/src/snapshotter/map_snapshotter.cpp +platform/android/src/snapshotter/map_snapshotter.hpp +platform/android/src/snapshotter/map_snapshot.cpp +platform/android/src/snapshotter/map_snapshot.hpp + +# Main jni bindings +platform/android/src/attach_env.cpp +platform/android/src/attach_env.hpp +platform/android/src/java_types.cpp +platform/android/src/java_types.hpp + +# Main entry point +platform/android/src/jni.hpp +platform/android/src/jni.cpp diff --git a/platform/android/filesource-files.txt b/platform/android/filesource-files.txt new file mode 100644 index 0000000000..c88db6c725 --- /dev/null +++ b/platform/android/filesource-files.txt @@ -0,0 +1,28 @@ +# File source +platform/android/src/http_file_source.cpp +platform/android/src/asset_manager.hpp +platform/android/src/asset_manager_file_source.cpp +platform/android/src/asset_manager_file_source.hpp + +# FileSource holder +platform/android/src/file_source.cpp +platform/android/src/file_source.hpp + +# Connectivity +platform/android/src/connectivity_listener.cpp +platform/android/src/connectivity_listener.hpp + +# Offline +platform/android/src/offline/offline_manager.cpp +platform/android/src/offline/offline_manager.hpp +platform/android/src/offline/offline_region.cpp +platform/android/src/offline/offline_region.hpp +platform/android/src/offline/offline_region_definition.cpp +platform/android/src/offline/offline_region_definition.hpp +platform/android/src/offline/offline_region_error.cpp +platform/android/src/offline/offline_region_error.hpp +platform/android/src/offline/offline_region_status.cpp +platform/android/src/offline/offline_region_status.hpp + +# Database +platform/default/sqlite3.cpp diff --git a/scripts/generate-cmake-files.js b/scripts/generate-cmake-files.js index 4b6a8b8672..bbbb9accec 100755 --- a/scripts/generate-cmake-files.js +++ b/scripts/generate-cmake-files.js @@ -6,7 +6,7 @@ const ejs = require('ejs'); require('./style-code'); -function generateCMakeListFile(name, regex, patterns) { +function generateFileList(name, regex, patterns) { const files = child_process.execSync(`git ls-files ${patterns.map((p) => '"' + p + '"').join(' ')}`).toString().trim().split('\n'); var groups = {}; for (const file of files) { @@ -18,15 +18,15 @@ function generateCMakeListFile(name, regex, patterns) { groups[group].push(file); } - const fileListCmake = ejs.compile(fs.readFileSync('cmake/files.cmake.ejs', 'utf8'), {strict: true}); - writeIfModified(`cmake/${name}-files.cmake`, fileListCmake({ name: name, groups: groups })); + const fileListCmake = ejs.compile(fs.readFileSync('cmake/files.txt.ejs', 'utf8'), {strict: true}); + writeIfModified(`cmake/${name}-files.txt`, fileListCmake({ groups: groups })); } -generateCMakeListFile('core', /^(?:src|include)\/(?:mbgl\/)?(.+)\/[^\/]+$/, +generateFileList('core', /^(?:src|include)\/(?:mbgl\/)?(.+)\/[^\/]+$/, [ 'include/*.hpp', 'include/*.h', 'src/*.hpp', 'src/*.cpp', 'src/*.h', 'src/*.c' ]); -generateCMakeListFile('benchmark', /^benchmark\/(?:(?:src|include)\/)?(?:mbgl\/)?(?:(.+)\/)?[^\/]+$/, +generateFileList('benchmark', /^benchmark\/(?:(?:src|include)\/)?(?:mbgl\/)?(?:(.+)\/)?[^\/]+$/, [ 'benchmark/*.hpp', 'benchmark/*.cpp', 'benchmark/*.h', 'benchmark/*.c' ]); -generateCMakeListFile('test', /^test\/(?:(?:src|include)\/)?(?:mbgl\/)?(?:(.+)\/)?[^\/]+$/, +generateFileList('test', /^test\/(?:(?:src|include)\/)?(?:mbgl\/)?(?:(.+)\/)?[^\/]+$/, [ 'test/*.hpp', 'test/*.cpp', 'test/*.h', 'test/*.c' ]); |