mirror of
https://github.com/marzer/tomlplusplus.git
synced 2024-11-02 02:26:28 +00:00
0c2279d15a
also: - added 'error_printer' example
34 lines
662 B
Meson
34 lines
662 B
Meson
args = []
|
|
|
|
if compiler.get_id() == 'gcc' or compiler.get_id() == 'clang'
|
|
args += [ '-Wno-switch', '-Wno-switch-default', '-Wno-switch-enum' ]
|
|
endif
|
|
|
|
simple_parser = executable(
|
|
'simple_parser',
|
|
[ 'simple_parser.cpp' ],
|
|
include_directories : inc,
|
|
cpp_args : args
|
|
)
|
|
|
|
toml_to_json_transcoder = executable(
|
|
'toml_to_json_transcoder',
|
|
[ 'toml_to_json_transcoder.cpp' ],
|
|
include_directories : inc,
|
|
cpp_args : args
|
|
)
|
|
|
|
toml_generator = executable(
|
|
'toml_generator',
|
|
[ 'toml_generator.cpp' ],
|
|
include_directories : inc,
|
|
cpp_args : args
|
|
)
|
|
|
|
error_printer = executable(
|
|
'error_printer',
|
|
[ 'error_printer.cpp' ],
|
|
include_directories : inc,
|
|
cpp_args : args
|
|
)
|