Skip to content

Commit 7ddfd95

Browse files
committed
docs: Restore maintainer disclaimers and fix Conan instructions
This commit adds back the warning about community-maintained package managers and the warning about the Amalgamated Source being possibly outdated to prevent misdirected issues. It also includes the necessary generators for Conan 2 in the README's Conan section to resolve issue #1629 while preserving the brevity of the new layout.
1 parent fb61d2b commit 7ddfd95

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ Major versions maintain binary compatibility. Critical security fixes are accept
4949

5050
## Integration
5151

52+
> [!NOTE]
53+
> Package manager ports (vcpkg, Conan, etc.) are community-maintained. Please report outdated versions or missing generators to their respective repositories.
54+
5255
### vcpkg
5356
Add `jsoncpp` to your `vcpkg.json` manifest:
5457

@@ -66,6 +69,17 @@ Or install via classic mode: `vcpkg install jsoncpp`.
6669
conan install --requires="jsoncpp/[*]" --build=missing
6770
```
6871

72+
If you are using a `conanfile.txt` in a Conan 2 project, ensure you use the appropriate generators:
73+
74+
```ini
75+
[requires]
76+
jsoncpp/[*]
77+
78+
[generators]
79+
CMakeToolchain
80+
CMakeDeps
81+
```
82+
6983
### Meson
7084

7185
```sh
@@ -74,7 +88,10 @@ meson wrap install jsoncpp
7488

7589
### Amalgamated source
7690

77-
For projects requiring a single-header approach, see the [Wiki entry](https://github.com/open-source-parsers/jsoncpp/wiki/Amalgamated).
91+
> [!NOTE]
92+
> This approach may be outdated.
93+
94+
For projects requiring a single-header approach, see the [Wiki entry](https://github.com/open-source-parsers/jsoncpp/wiki/Amalgamated-(Possibly-outdated)).
7895

7996
## Documentation
8097

0 commit comments

Comments
 (0)