summaryrefslogtreecommitdiff
path: root/cmake/loop-darwin.cmake
blob: 9e52639c52cd93a906d010c75c6f7ed91a22e40d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Modify platform/darwin/loop-files.json to change the source files for this target.
load_sources_list(MBGL_LOOP_DARWIN_FILES platform/darwin/loop-files.json)
add_library(mbgl-loop-darwin STATIC ${MBGL_LOOP_DARWIN_FILES})

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

target_link_libraries(mbgl-loop-darwin PUBLIC
    mapbox-base
)

create_source_groups(mbgl-loop-darwin)

set_target_properties(mbgl-loop-darwin PROPERTIES FOLDER "Core")

initialize_xcode_cxx_build_settings(mbgl-loop-darwin)

xcode_create_scheme(TARGET mbgl-loop-darwin)