Adds instruction for using Build2's package manager#1909
Adds instruction for using Build2's package manager#1909nlohmann merged 2 commits intonlohmann:developfrom
Conversation
I created a `nlohmann-json` package for `build2` (https://build2.org) that have been published on the central public repository https://cppget.org : https://cppget.org/nlohmann-json (at the moment you can see that there is only one version: 3.7.3). The repository of the package code is there: https://github.com/build2-packaging/nlohmann-json and is owned by the build2 community now. (with build2 you can use either a repository like cppget.org or a git repository so both are useful to users for different use cases). This patch just add the basic information as to how to use this library with build2.
|
Thanks a lot! I'll merge once the Travis CI succeeds. |
(proper naming suggested by `build2`'s author)
🔖 Release itemThis issue/PR will be part of the next release of the library. This template helps preparing the release notes. Type
Description
|
|
Thanks! |
|
Hi @Klaim, it's been a while that you added the description for build2. Meanwhile, we created a dedicated documentation page for all supported package managers: https://json.nlohmann.me/integration/package_managers/ Unfortunately, I struggle to create a self-contained example how to compile a small example with build2. Can you support me here? |
|
Sure! Looking at the other examples, the self-contained exampled should be "from scratch", that is we create a new project and add the library as a dependency. Do I understand correctly? |
|
Awesome! Yes, the idea is to show how to compile the given |
|
Yeah in the case of I'll make a PR soon 👍🏽 Maybe not today, probably tomorrow. Should I also setup a "summary" box as you did with most other tools? |
|
Yes, that would be awesome! |
I created a
nlohmann-jsonpackage forbuild2(https://build2.org) that have been published on the central public repository https://cppget.org : https://cppget.org/nlohmann-json (at the moment you can see that there is only one version: 3.7.3).The repository of the package code is there: https://github.com/build2-packaging/nlohmann-json and is owned by the build2 community now. (with build2 you can use either a repository like cppget.org or a git repository so both are useful to users for different use cases).
This patch just add the basic information as to how to use this library with build2 to the README file. This is documentation-only.
Pull request checklist
Read the Contribution Guidelines for detailed information.
include/nlohmanndirectory, runmake amalgamateto create the single-header filesingle_include/nlohmann/json.hpp. The whole process is described here.Please don't
#ifdefs or other means.