1
0
mirror of https://github.com/nlohmann/json synced 2024-11-23 20:40:08 +00:00

Merge pull request #925 from zerodefect/improvement/improve_readme_json_fwd

Howto installation of json_fwd.hpp (fixes #923)
This commit is contained in:
Niels Lohmann 2018-01-25 17:11:21 +01:00 committed by GitHub
commit 0e2211df0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ using json = nlohmann::json;
to the files you want to use JSON objects. That's it. Do not forget to set the necessary switches to enable C++11 (e.g., `-std=c++11` for GCC and Clang).
You can further use file [`develop/json_fwd.hpp`](https://github.com/nlohmann/json/blob/develop/develop/json_fwd.hpp) for forward-declarations.
You can further use file [`develop/json_fwd.hpp`](https://github.com/nlohmann/json/blob/develop/develop/json_fwd.hpp) for forward-declarations. The installation of json_fwd.hpp (as part of cmake's install step), can be achieved by setting `-DJSON_MultipleHeaders=ON`:
### Package Managers