-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds instruction for using Build2's package manager #1909
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
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-json
package 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/nlohmann
directory, runmake amalgamate
to create the single-header filesingle_include/nlohmann/json.hpp
. The whole process is described here.Please don't
#ifdef
s or other means.