mirror of
https://github.com/kgabis/parson.git
synced 2025-02-05 08:55:30 +00:00
Add vcpkg installation instructions
This commit is contained in:
parent
d259c9b3f9
commit
0ea03bbda1
12
README.md
12
README.md
@ -17,6 +17,18 @@ and copy parson.h and parson.c to you source code tree.
|
||||
|
||||
Run ```make test``` to compile and run tests.
|
||||
|
||||
Alternatively, you can build and install parson using [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager:
|
||||
|
||||
```
|
||||
git clone https://github.com/Microsoft/vcpkg.git
|
||||
cd vcpkg
|
||||
./bootstrap-vcpkg.sh # "./bootstrap-vcpkg.bat" for powershell
|
||||
./vcpkg integrate install
|
||||
./vcpkg install parson
|
||||
```
|
||||
|
||||
The parson port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
|
||||
|
||||
## Examples
|
||||
### Parsing JSON
|
||||
Here is a function, which prints basic commit info (date, sha and author) from a github repository.
|
||||
|
Loading…
Reference in New Issue
Block a user