Files
MapLibreParticleLab/cmake/filesource.cmake
Thiago Marcos P. Santos 69960afb8d [build] Add build system for submodules
Vendorize the submodules and a simple CMake build
system for all them. The dependencies will inherit
compilation options for core.

The goal is to make Mapbox GL Core completely self
contained with a simple offline build.
2018-10-31 18:19:28 +02:00

27 lines
681 B
CMake

# Modify cmake/filesource-files.txt to change the source files for this target.
load_sources_list(MBGL_FILESOURCE_FILES cmake/filesource-files.txt)
add_library(mbgl-filesource STATIC ${MBGL_FILESOURCE_FILES})
target_add_mason_package(mbgl-filesource PRIVATE boost)
target_include_directories(mbgl-filesource
PRIVATE include
PRIVATE src
PRIVATE platform/default
)
target_link_libraries(mbgl-filesource
PUBLIC mbgl-core
PUBLIC 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)