summaryrefslogtreecommitdiff
path: root/cmake/loop-uv.cmake
blob: e1d3166b63c1cc27778bca12edb60804d4e6ce90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
add_library(mbgl-loop-uv INTERFACE)

target_sources(mbgl-loop-uv INTERFACE
    ${CMAKE_CURRENT_SOURCE_DIR}/platform/default/async_task.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/platform/default/run_loop.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/platform/default/timer.cpp
)

target_include_directories(mbgl-loop-uv INTERFACE
    ${CMAKE_CURRENT_SOURCE_DIR}/include
    ${CMAKE_CURRENT_SOURCE_DIR}/src
)

create_source_groups(mbgl-loop-uv)