summaryrefslogtreecommitdiff
path: root/cmake/render.cmake
blob: f1b09b3c47600eb0243a237301d4b3f1b7c456e2 (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_executable(mbgl-render
    bin/render.cpp
)

target_compile_options(mbgl-render
    PRIVATE -fvisibility-inlines-hidden
)

target_include_directories(mbgl-render
    PRIVATE include
    PRIVATE src # TODO: eliminate
)

target_link_libraries(mbgl-render
    PRIVATE mbgl-core
)

target_add_mason_package(mbgl-render PRIVATE boost)
target_add_mason_package(mbgl-render PRIVATE boost_libprogram_options)

mbgl_platform_render()

create_source_groups(mbgl-render)