From 52275f835a38897ebf1aeb2158ccfca2272e4770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Wed, 22 Aug 2018 12:51:08 +0200 Subject: [build] add plain text file lists for iOS/macOS --- cmake/benchmark.cmake | 1 + cmake/core.cmake | 1 + cmake/filesource.cmake | 1 + cmake/loop-darwin.cmake | 10 ++++------ cmake/test.cmake | 1 + 5 files changed, 8 insertions(+), 6 deletions(-) (limited to 'cmake') diff --git a/cmake/benchmark.cmake b/cmake/benchmark.cmake index 5cac8cc8b6..7e0fd76917 100644 --- a/cmake/benchmark.cmake +++ b/cmake/benchmark.cmake @@ -1,3 +1,4 @@ +# Modify cmake/benchmark-files.txt to change the source files for this target. load_sources_list(MBGL_BENCHMARK_FILES cmake/benchmark-files.txt) add_executable(mbgl-benchmark ${MBGL_BENCHMARK_FILES}) diff --git a/cmake/core.cmake b/cmake/core.cmake index d52f7ba32f..32e77f5d55 100644 --- a/cmake/core.cmake +++ b/cmake/core.cmake @@ -1,3 +1,4 @@ +# Modify cmake/core-files.txt to change the source files for this target. load_sources_list(MBGL_CORE_FILES cmake/core-files.txt) add_library(mbgl-core STATIC ${MBGL_CORE_FILES}) diff --git a/cmake/filesource.cmake b/cmake/filesource.cmake index 6486a4af32..cfb04a5ce9 100644 --- a/cmake/filesource.cmake +++ b/cmake/filesource.cmake @@ -1,5 +1,6 @@ add_vendor_target(expected INTERFACE) +# Modify cmake/filesource-files.txt to change the source files for this target. load_sources_list(MBGL_FILESOURCE_FILES cmake/filesource-files.txt) add_library(mbgl-filesource STATIC ${MBGL_FILESOURCE_FILES}) diff --git a/cmake/loop-darwin.cmake b/cmake/loop-darwin.cmake index f60972902f..ef79eef01b 100644 --- a/cmake/loop-darwin.cmake +++ b/cmake/loop-darwin.cmake @@ -1,8 +1,6 @@ -add_library(mbgl-loop-darwin STATIC - platform/darwin/src/async_task.cpp - platform/darwin/src/run_loop.cpp - platform/darwin/src/timer.cpp -) +# 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) +add_library(mbgl-loop-darwin STATIC ${MBGL_LOOP_DARWIN_FILES}) target_include_directories(mbgl-loop-darwin PRIVATE include @@ -15,4 +13,4 @@ set_target_properties(mbgl-loop-darwin PROPERTIES FOLDER "Core") initialize_xcode_cxx_build_settings(mbgl-loop-darwin) -xcode_create_scheme(TARGET mbgl-loop-darwin) \ No newline at end of file +xcode_create_scheme(TARGET mbgl-loop-darwin) diff --git a/cmake/test.cmake b/cmake/test.cmake index 755edad892..7d86dfdde8 100644 --- a/cmake/test.cmake +++ b/cmake/test.cmake @@ -1,5 +1,6 @@ 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) if (MBGL_TEST_TARGET_TYPE STREQUAL "library") add_library(mbgl-test SHARED ${MBGL_TEST_FILES}) -- cgit v1.2.1