1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-01-16 01:37:58 +00:00

Compare commits

...

5 Commits

Author SHA1 Message Date
Gabi Melman
69dc173979
Update README.md 2021-03-03 00:17:33 +02:00
Gabi Melman
ded8b5ebd4
Added build2 to package managers section in readme 2021-03-03 00:16:59 +02:00
Gabi Melman
ed58ae9f98
Revert PR #1851 2021-03-02 22:49:11 +02:00
Gabi Melman
f7f790b4b3
Merge pull request #1851 from Klaim/patch-1
Add build2 package support
2021-03-02 22:37:43 +02:00
Klaim (Joël Lamotte)
fe74c80992
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 <some-version-scheme>`, 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).
2021-02-27 14:45:55 +01:00

View File

@ -31,6 +31,8 @@ $ cmake .. && make -j
* vcpkg: `vcpkg install spdlog`
* conan: `spdlog/[>=1.4.1]`
* conda: `conda install -c conda-forge spdlog`
* build2: ```depends: spdlog ^1.8.2```
## Features