Files
CLI11/single-include/meson.build
Zephyr Lykos f0eddc8dc5 Refactor meson build system (#1280)
- 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
2026-01-16 17:39:24 -08:00

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],
)