summaryrefslogtreecommitdiff
path: root/cmake/loop-darwin.cmake
blob: 16bc62537c259211ea38646800fcab42089f2d36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)