Merge pull request #576 from Type1J/develop

Adding support for Meson.
This commit is contained in:
Niels Lohmann 2017-05-10 16:32:14 +02:00 committed by GitHub
commit 15ef9b8a35
2 changed files with 9 additions and 0 deletions

View file

@ -66,6 +66,8 @@ to the files you want to use JSON objects. That's it. Do not forget to set the n
:beer: If you are using OS X and [Homebrew](http://brew.sh), just type `brew tap nlohmann/json` and `brew install nlohmann_json` and you're set. If you want the bleeding edge rather than the latest release, use `brew install nlohmann_json --HEAD`.
If you are using the Meson Build System, then you can wrap this repo as a subproject.
:warning: [Version 3.0.0](https://github.com/nlohmann/json/wiki/Road-toward-3.0.0) is currently under development. Branch `develop` is used for the ongoing work and is probably **unstable**. Please use the `master` branch for the last stable version 2.1.1.

7
meson.build Normal file
View file

@ -0,0 +1,7 @@
project('nlohmann_json', 'cpp')
nlohmann_json_inc = include_directories('src')
nlohmann_json_dep = declare_dependency(
include_directories : nlohmann_json_inc
)