From fe74c80992be04d7c834e301faf99b3f519552ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaim=20=28Jo=C3=ABl=20Lamotte=29?= <142265+Klaim@users.noreply.github.com> Date: Sat, 27 Feb 2021 14:45:55 +0100 Subject: [PATCH] Add build2 package support WARNING: Please do not merge yet! See below. We are currently in the process of packaging `spdlog` for `build2`, we have it working (even on unsupported Windows, see for example: https://ci.stage.build2.org/@a993b64e-8ba2-422e-97d7-250cdb5828e0?builds=&pv=&tc=*&cf=&mn=&tg=&rs=*) This change simply adds the necessary information to use this package when using `build2`. Some notes: - not sure how to give the info succintly because `build2` allows packages to come from different sources, including the git repository of the package - in doubt I just linked to the future community repository address providing all the info, but the other package manager didn't do it like that so not sure if it's ok for you?; - `build2` distinguish the package (`depends: spdlog `, added in the `manifest` file of a `build2` project) and the target (`spdlog%lib{spdlog}` imported in a `buildfile`) because packages can contain several targets. I was not sure how to formulate that here, so feel free to tell me if I should just provide the name of the package and not more info? The package isn't available yet so this have to be merged only once it is made available (probably in a few days). --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7a5fac86..8f428a05 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ $ cmake .. && make -j * vcpkg: `vcpkg install spdlog` * conan: `spdlog/[>=1.4.1]` * conda: `conda install -c conda-forge spdlog` +* build2: [package `spdlog`](https://cppget.org/spdlog), target `spdlog%lib{spdlog}` ## Features