summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-08-22 12:51:08 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-08-23 14:09:48 +0200
commit52275f835a38897ebf1aeb2158ccfca2272e4770 (patch)
treeface73b37397ae7866491848eec17afdabf65544 /cmake
parentcb1f781a1897826ea69eb9787ea4a059686450d9 (diff)
downloadqtlocation-mapboxgl-52275f835a38897ebf1aeb2158ccfca2272e4770.tar.gz
[build] add plain text file lists for iOS/macOS
Diffstat (limited to 'cmake')
-rw-r--r--cmake/benchmark.cmake1
-rw-r--r--cmake/core.cmake1
-rw-r--r--cmake/filesource.cmake1
-rw-r--r--cmake/loop-darwin.cmake10
-rw-r--r--cmake/test.cmake1
5 files changed, 8 insertions, 6 deletions
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})