summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/benchmark-files.txt25
-rw-r--r--cmake/benchmark.cmake4
-rw-r--r--cmake/core-files.txt802
-rw-r--r--cmake/core.cmake4
-rw-r--r--cmake/files.txt.ejs9
-rw-r--r--cmake/filesource-files.txt27
-rw-r--r--cmake/filesource.cmake4
-rw-r--r--cmake/loop-darwin.cmake4
-rw-r--r--cmake/mbgl.cmake14
-rw-r--r--cmake/test-files.txt155
-rw-r--r--cmake/test.cmake4
11 files changed, 18 insertions, 1034 deletions
diff --git a/cmake/benchmark-files.txt b/cmake/benchmark-files.txt
deleted file mode 100644
index d739710d27..0000000000
--- a/cmake/benchmark-files.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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 0d2eebb228..a944c64d05 100644
--- a/cmake/benchmark.cmake
+++ b/cmake/benchmark.cmake
@@ -1,5 +1,5 @@
-# Modify cmake/benchmark-files.txt to change the source files for this target.
-load_sources_list(MBGL_BENCHMARK_FILES cmake/benchmark-files.txt)
+# Run scripts/generate-file-lists.js to change the source files for this target.
+load_sources_list(MBGL_BENCHMARK_FILES benchmark/benchmark-files.json)
add_executable(mbgl-benchmark ${MBGL_BENCHMARK_FILES})
target_include_directories(mbgl-benchmark
diff --git a/cmake/core-files.txt b/cmake/core-files.txt
deleted file mode 100644
index 32c8b76ad3..0000000000
--- a/cmake/core-files.txt
+++ /dev/null
@@ -1,802 +0,0 @@
-# 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/cull_face_mode.cpp
-src/mbgl/gl/cull_face_mode.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
-
-# layermanager
-include/mbgl/layermanager/background_layer_factory.hpp
-include/mbgl/layermanager/circle_layer_factory.hpp
-include/mbgl/layermanager/custom_layer_factory.hpp
-include/mbgl/layermanager/fill_extrusion_layer_factory.hpp
-include/mbgl/layermanager/fill_layer_factory.hpp
-include/mbgl/layermanager/heatmap_layer_factory.hpp
-include/mbgl/layermanager/hillshade_layer_factory.hpp
-include/mbgl/layermanager/layer_factory.hpp
-include/mbgl/layermanager/layer_manager.hpp
-include/mbgl/layermanager/line_layer_factory.hpp
-include/mbgl/layermanager/raster_layer_factory.hpp
-include/mbgl/layermanager/symbol_layer_factory.hpp
-src/mbgl/layermanager/background_layer_factory.cpp
-src/mbgl/layermanager/circle_layer_factory.cpp
-src/mbgl/layermanager/custom_layer_factory.cpp
-src/mbgl/layermanager/fill_extrusion_layer_factory.cpp
-src/mbgl/layermanager/fill_layer_factory.cpp
-src/mbgl/layermanager/heatmap_layer_factory.cpp
-src/mbgl/layermanager/hillshade_layer_factory.cpp
-src/mbgl/layermanager/layer_factory.cpp
-src/mbgl/layermanager/layer_manager.cpp
-src/mbgl/layermanager/line_layer_factory.cpp
-src/mbgl/layermanager/raster_layer_factory.cpp
-src/mbgl/layermanager/symbol_layer_factory.cpp
-
-# layout
-src/mbgl/layout/clip_lines.cpp
-src/mbgl/layout/clip_lines.hpp
-src/mbgl/layout/layout.hpp
-src/mbgl/layout/merge_lines.cpp
-src/mbgl/layout/merge_lines.hpp
-src/mbgl/layout/pattern_layout.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
-include/mbgl/renderer/renderer_state.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/renderer_state.cpp
-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_layer_symbol_interface.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_gradient.cpp
-src/mbgl/shaders/line_gradient.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/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/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/format_expression.hpp
-include/mbgl/style/expression/formatted.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/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/format_expression.cpp
-src/mbgl/style/expression/formatted.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
-src/mbgl/text/tagged_string.cpp
-src/mbgl/text/tagged_string.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/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/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/hash.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.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 6773af87fc..1971352c37 100644
--- a/cmake/core.cmake
+++ b/cmake/core.cmake
@@ -1,5 +1,5 @@
-# Modify cmake/core-files.txt to change the source files for this target.
-load_sources_list(MBGL_CORE_FILES cmake/core-files.txt)
+# scripts/generate-file-lists.js to change the source files for this target.
+load_sources_list(MBGL_CORE_FILES src/core-files.json)
add_library(mbgl-core STATIC ${MBGL_CORE_FILES})
target_include_directories(mbgl-core
diff --git a/cmake/files.txt.ejs b/cmake/files.txt.ejs
deleted file mode 100644
index 6faa184c29..0000000000
--- a/cmake/files.txt.ejs
+++ /dev/null
@@ -1,9 +0,0 @@
-<%
- const groups = locals.groups;
--%>
-# This file is generated. Do not edit. Regenerate this with scripts/generate-cmake-files.js
-<% for (const key of Object.keys(groups).sort()) { -%>
-
-# <%- key %>
-<%- groups[key].sort().join('\n') %>
-<% } -%>
diff --git a/cmake/filesource-files.txt b/cmake/filesource-files.txt
deleted file mode 100644
index 4eef1a3873..0000000000
--- a/cmake/filesource-files.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-# File source
-include/mbgl/storage/default_file_source.hpp
-platform/default/src/mbgl/storage/default_file_source.cpp
-platform/default/include/mbgl/storage/file_source_request.hpp
-platform/default/src/mbgl/storage/file_source_request.cpp
-include/mbgl/storage/online_file_source.hpp
-platform/default/src/mbgl/storage/online_file_source.cpp
-src/mbgl/storage/http_file_source.hpp
-src/mbgl/storage/asset_file_source.hpp
-platform/default/src/mbgl/storage/asset_file_source.cpp
-src/mbgl/storage/local_file_source.hpp
-platform/default/src/mbgl/storage/local_file_source.cpp
-platform/default/include/mbgl/storage/local_file_request.hpp
-platform/default/src/mbgl/storage/local_file_request.cpp
-
-# Offline
-include/mbgl/storage/offline.hpp
-platform/default/src/mbgl/storage/offline.cpp
-platform/default/include/mbgl/storage/offline_database.hpp
-platform/default/src/mbgl/storage/offline_database.cpp
-platform/default/include/mbgl/storage/offline_download.hpp
-platform/default/src/mbgl/storage/offline_download.cpp
-platform/default/include/mbgl/storage/offline_schema.hpp
-platform/default/include/mbgl/storage/merge_sideloaded.hpp
-
-# Database
-platform/default/include/mbgl/storage/sqlite3.hpp
diff --git a/cmake/filesource.cmake b/cmake/filesource.cmake
index e02467633b..ff9fa360f6 100644
--- a/cmake/filesource.cmake
+++ b/cmake/filesource.cmake
@@ -1,5 +1,5 @@
-# Modify cmake/filesource-files.txt to change the source files for this target.
-load_sources_list(MBGL_FILESOURCE_FILES cmake/filesource-files.txt)
+# Modify platform/default/filesource-files.json to change the source files for this target.
+load_sources_list(MBGL_FILESOURCE_FILES platform/default/filesource-files.json)
add_library(mbgl-filesource STATIC ${MBGL_FILESOURCE_FILES})
target_include_directories(mbgl-filesource
diff --git a/cmake/loop-darwin.cmake b/cmake/loop-darwin.cmake
index ef79eef01b..a330375653 100644
--- a/cmake/loop-darwin.cmake
+++ b/cmake/loop-darwin.cmake
@@ -1,5 +1,5 @@
-# Modify platform/darwin/loop-files.txt to change the source files for this target.
-load_sources_list(MBGL_LOOP_DARWIN_FILES platform/darwin/loop-files.txt)
+# Modify platform/darwin/loop-files.json to change the source files for this target.
+load_sources_list(MBGL_LOOP_DARWIN_FILES platform/darwin/loop-files.json)
add_library(mbgl-loop-darwin STATIC ${MBGL_LOOP_DARWIN_FILES})
target_include_directories(mbgl-loop-darwin
diff --git a/cmake/mbgl.cmake b/cmake/mbgl.cmake
index 8e6f11c823..96ce393da2 100644
--- a/cmake/mbgl.cmake
+++ b/cmake/mbgl.cmake
@@ -121,12 +121,14 @@ 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}")
+ file(READ "${FILELIST}" _LINES)
+ # Note: this isn't really parsing JSON, but it's good enough for our purposes.
+ set(_REGEX "(^|\n) *(\"([^\"]+)\" *: *)?\"([^\"]+)\",?(\n|$)")
+ string(REGEX MATCHALL "${_REGEX}" _MATCHES "${_LINES}")
+ foreach(_MATCH IN LISTS _MATCHES)
+ string(REGEX MATCH "${_REGEX}" _FILE "${_MATCH}")
+ if (_FILE AND NOT CMAKE_MATCH_3 STREQUAL "//")
+ list(APPEND _FILES "${CMAKE_SOURCE_DIR}/${CMAKE_MATCH_4}")
endif()
endforeach()
set(${VAR} "${_FILES}" PARENT_SCOPE)
diff --git a/cmake/test-files.txt b/cmake/test-files.txt
deleted file mode 100644
index c7f71bd24a..0000000000
--- a/cmake/test-files.txt
+++ /dev/null
@@ -1,155 +0,0 @@
-# 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/bidi.test.cpp
-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
-test/text/tagged_string.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/string.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 977f4a1413..0614270089 100644
--- a/cmake/test.cmake
+++ b/cmake/test.cmake
@@ -1,7 +1,7 @@
add_vendor_target(gtest STATIC)
-# Modify cmake/test-files.txt to change the source files for this target.
-load_sources_list(MBGL_TEST_FILES cmake/test-files.txt)
+# scripts/generate-file-lists.js to change the source files for this target.
+load_sources_list(MBGL_TEST_FILES test/test-files.json)
if (MBGL_TEST_TARGET_TYPE STREQUAL "library")
add_library(mbgl-test SHARED ${MBGL_TEST_FILES})
else()