Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[build] use plain text files for file lists to simplify integration w…
Browse files Browse the repository at this point in the history
…ith other build systems
  • Loading branch information
kkaefer committed Aug 20, 2018
1 parent 1b4398f commit bded6c6
Show file tree
Hide file tree
Showing 18 changed files with 1,235 additions and 1,237 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
28 changes: 0 additions & 28 deletions cmake/benchmark-files.cmake

This file was deleted.

26 changes: 26 additions & 0 deletions cmake/benchmark-files.txt
Original file line number Diff line number Diff line change
@@ -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

5 changes: 2 additions & 3 deletions cmake/benchmark.cmake
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading

0 comments on commit bded6c6

Please sign in to comment.