Skip to content

Commit

Permalink
Merge pull request #576 from Type1J/develop
Browse files Browse the repository at this point in the history
Adding support for Meson.
  • Loading branch information
nlohmann authored May 10, 2017
2 parents 2afbd33 + 87744fd commit 15ef9b8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down
7 changes: 7 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
project('nlohmann_json', 'cpp')

nlohmann_json_inc = include_directories('src')

nlohmann_json_dep = declare_dependency(
include_directories : nlohmann_json_inc
)

0 comments on commit 15ef9b8

Please sign in to comment.