mirror of
https://github.com/CLIUtils/CLI11.git
synced 2026-01-19 04:52:08 +00:00
- Bump meson version to 1.3 - Bump default cpp_std (required by Catch2 3.x, still possible for c++11 fallback) - Move option `single-file-header` and `precompiled` to `mode` - Make pkgconfig optional - Refactor tests, fix a bizzare situation where filename contains quote or escape characters
13 lines
506 B
Meson
13 lines
506 B
Meson
# Because Meson does not allow outputs to be placed in subfolders, we must have
|
|
# meson.build here when generating the single file header so that it is placed
|
|
# in the correct location.
|
|
|
|
single_main_file = files('CLI11.hpp.in')
|
|
single_header = custom_target(
|
|
'CLI11.hpp',
|
|
input: [cli11_headers, cli11_impl_headers],
|
|
output: 'CLI11.hpp',
|
|
command : [find_program('../scripts/MakeSingleHeader.py'), '@INPUT@', '--main', single_main_file, '--output', '@OUTPUT@'],
|
|
depend_files: [single_main_file],
|
|
)
|