1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-29 12:13:52 +00:00
CLI11/meson.build
Daniel Mensinger dbd4933506 meson: Basic meson support (#299)
* meson: Basic meson support

With this patch, CLI11 can be used as a meson
subproject: http://mesonbuild.com/Subprojects.html

However, CMake is still required for testing and
installation. The current meson.build is not a
complete replacement.

* meson: Added meson test

* Adding Azure test
2019-07-25 17:26:13 -04:00

12 lines
324 B
Meson

project('CLI11', ['cpp'],
version : run_command(find_program('scripts/ExtractVersion.py')).stdout().strip(),
default_options : ['cpp_std=c++11']
)
CLI11_inc = include_directories(['include'])
CLI11_dep = declare_dependency(
include_directories : CLI11_inc,
version : meson.project_version(),
)