summaryrefslogtreecommitdiff
path: root/cmake/loop-darwin.cmake
blob: 92ea631809dbc509cdc9761711efab8884f27c1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
add_library(mbgl-loop-darwin STATIC
    platform/darwin/src/async_task.cpp
    platform/darwin/src/run_loop.cpp
    platform/darwin/src/timer.cpp
)

set_xcode_property(mbgl-loop-darwin GCC_SYMBOLS_PRIVATE_EXTERN YES)

target_compile_options(mbgl-loop-darwin
    PRIVATE -fPIC
    PRIVATE -fvisibility-inlines-hidden
)

target_include_directories(mbgl-loop-darwin
    PRIVATE include
    PRIVATE src
)

create_source_groups(mbgl-loop-darwin)