nucleo_f446re_playground/components/etl/meson.build
Attila Body 11c24647ea
git subrepo clone --branch=20.41.6 git@github.com:ETLCPP/etl.git components/etl
subrepo:
  subdir:   "components/etl"
  merged:   "be5537ec"
upstream:
  origin:   "git@github.com:ETLCPP/etl.git"
  branch:   "20.41.6"
  commit:   "be5537ec"
git-subrepo:
  version:  "0.4.9"
  origin:   "???"
  commit:   "???"
2025-06-11 11:25:49 +02:00

27 lines
684 B
Meson

project('etl',
['cpp'],
default_options : [
'warning_level=2',
'werror=false',
# `build.*` options affect `native: true targets`
# plain options affect `native: false` targets.
'cpp_std=c++17', 'build.cpp_std=c++17',
],
meson_version: '>=0.57.0',
version: files('version.txt')
)
compile_args = []
if not get_option('use_stl')
compile_args += '-DETL_NO_STL'
endif
etl_dep = declare_dependency(
include_directories: include_directories('include'),
compile_args: compile_args
)
# Only register tests with the test runner when built as a primary project
if meson.is_subproject() == false
subdir('test')
endif