tomlplusplus/examples/meson.build
Mark Gillard ff6f184d30 added parse_benchmark example
also:
- internal parser refactoring
2021-11-04 11:56:03 +02:00

24 lines
461 B
Meson

example_args = []
example_args += additional_arguments
if is_gcc or is_clang
example_args += [ '-Wno-switch', '-Wno-switch-default', '-Wno-switch-enum' ]
endif
examples = [
'simple_parser',
'toml_to_json_transcoder',
'toml_generator',
'error_printer',
'parse_benchmark',
]
foreach example : examples
executable(
example,
[ example+'.cpp' ],
include_directories: include_dirs,
cpp_args: example_args,
override_options: overrides
)
endforeach