summaryrefslogtreecommitdiff
path: root/cmake/loop-uv.cmake
blob: 8840040963710e8f5f0a22847e2437c2ee7402c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
add_library(mbgl-loop-uv STATIC
    platform/default/async_task.cpp
    platform/default/run_loop.cpp
    platform/default/timer.cpp
)

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

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

target_link_libraries(mbgl-loop-uv
    PRIVATE mbgl-core
)

create_source_groups(mbgl-loop-uv)

xcode_create_scheme(TARGET mbgl-loop-uv)