Files
MapLibreParticleLab/cmake/filesource.cmake
Thiago Marcos P. Santos 8ee6cfa8fb [build] Cosmetics on vendor packages
- Add include guards on all the files
- Add a vendor package for sqlite and gtest
- Use relative paths to all the files
2019-09-17 12:28:55 +03:00

25 lines
668 B
CMake

# Modify platform/default/filesource-files.json to change the source files for this target.
load_sources_list(MBGL_FILESOURCE_FILES platform/default/filesource-files.json)
add_library(mbgl-filesource STATIC ${MBGL_FILESOURCE_FILES})
target_include_directories(mbgl-filesource
PRIVATE include
PRIVATE src
PRIVATE platform/default/include
)
target_link_libraries(mbgl-filesource
PUBLIC mbgl-core
PUBLIC mbgl-vendor-expected
)
mbgl_filesource()
create_source_groups(mbgl-filesource)
set_target_properties(mbgl-filesource PROPERTIES FOLDER "Core")
xcode_create_scheme(TARGET mbgl-filesource)
initialize_xcode_cxx_build_settings(mbgl-filesource)