From 692fe1f3ffc8f4364b39c14aa7d90cec2ff5c0a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Fri, 3 Jun 2016 18:05:04 +0200 Subject: [build] switch to CMake This is very much a work in progress. --- cmake/loop-darwin.cmake | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 cmake/loop-darwin.cmake (limited to 'cmake/loop-darwin.cmake') diff --git a/cmake/loop-darwin.cmake b/cmake/loop-darwin.cmake new file mode 100644 index 0000000000..16bc62537c --- /dev/null +++ b/cmake/loop-darwin.cmake @@ -0,0 +1,18 @@ +add_library(mbgl-loop STATIC + platform/darwin/src/async_task.cpp + platform/darwin/src/run_loop.cpp + platform/darwin/src/timer.cpp +) + +target_compile_options(mbgl-loop + PRIVATE -fPIC + PRIVATE -fvisibility-inlines-hidden +) + +target_include_directories(mbgl-loop + PUBLIC include + PRIVATE src +) + +create_source_groups(mbgl-loop) +target_append_xcconfig(mbgl-loop) -- cgit v1.2.1