Add guide for installing/including Boost Histogram standalone (possibly with CMake)
- Dominant language
- C++
- Stars
- 334
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Description
I am interested in replacing a `C++` histogram implementation in an existing project with `boost/histogram`. This project does not depend on `boost`, nor does it necessarily intend to be run on machines that have any part of `boost` installed. For sake of simplicity, I would not like to add `boost` as an explicit dependency to this project.
Given that `boost/histogram` is "header-only", what is the minimal installation procedure for allowing me to simply drop,
```c++
#include
```
at the top of a file and have everything work smoothly. I see that `boost/histogram` has internal dependencies on, e.g. `boost/nvp`, so just adding the include path to grab `boost/histogram.hpp` once checking out this repository is not sufficient.
Is there a minimal working example of dropping in `boost/histogram` as a dependency to an already-existing cmake-based project? The docs are not clear on the installation (apart from assuming the normal perhaps-not-trivial boost installation procedures, I suppose) and I can really only find clear installation guidelines for the `python` bindings via `pip`.
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.