summaryrefslogtreecommitdiff
path: root/cmake/loop-darwin.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/loop-darwin.cmake
parentcb1f781a1897826ea69eb9787ea4a059686450d9 (diff)
downloadqtlocation-mapboxgl-52275f835a38897ebf1aeb2158ccfca2272e4770.tar.gz
[build] add plain text file lists for iOS/macOS
Diffstat (limited to 'cmake/loop-darwin.cmake')
-rw-r--r--cmake/loop-darwin.cmake10
1 files changed, 4 insertions, 6 deletions
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)