meson: Permit installation of toml++ (#16)

This commit is contained in:
Matthias Klumpp 2020-04-03 10:03:15 +02:00 committed by GitHub
parent cb000809b0
commit 764e6dd032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,3 +99,15 @@ if build_tests or build_examples
endif endif
install_subdir('include/toml++/',
strip_directory: true,
install_dir: 'include/toml++'
)
pkgc = import('pkgconfig')
pkgc.generate (
name: 'toml++',
version: meson.project_version(),
description: 'Header-only TOML config file parser and serializer for modern C++',
subdirs: 'toml++'
)