json/meson.build

22 lines
517 B
Meson
Raw Normal View History

2018-09-21 02:54:10 +08:00
project('nlohmann_json',
'cpp',
2018-10-31 04:30:20 +08:00
version : '3.4.0',
2018-09-21 02:54:10 +08:00
license : 'MIT',
)
2017-05-08 21:35:00 +08:00
nlohmann_json_dep = declare_dependency(
2018-09-21 02:54:10 +08:00
include_directories: include_directories('single_include')
2018-06-24 22:53:02 +08:00
)
nlohmann_json_multiple_headers = declare_dependency(
2018-09-21 02:54:10 +08:00
include_directories: include_directories('include')
2017-05-08 21:35:00 +08:00
)
2018-11-08 06:56:55 +08:00
install_headers('single_include/nlohmann/json.hpp', subdir: 'nlohmann')
pkgc = import('pkgconfig')
pkgc.generate(name: 'nlohmann_json',
version: meson.project_version(),
description: 'JSON for Modern C++'
)