summaryrefslogtreecommitdiff
path: root/cmake/offline.cmake
blob: 1dc67f78875fe1a51f4fed6af0f82f7a4bda47c8 (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-offline
    bin/offline.cpp
)

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

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

target_link_libraries(mbgl-offline
    PRIVATE mbgl-core
)

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

mbgl_platform_offline()

create_source_groups(mbgl-offline)