Skip to content

Commit

Permalink
Update README with instructions for Conan
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu Longo committed Feb 23, 2023
1 parent f5730b4 commit 0ca961c
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,17 @@ To build jsonld-cpp, you will need:
jsonld-cpp uses a pretty standard cmake build system:

```
mkdir build
cd build
cmake ..
make
mkdir build-dir && cd build-dir
conan install .. --build=missing
cmake -GNinja -DCMAKE_PREFIX_PATH=$(pwd) -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$(pwd)/sysroot ..
ninja
ninja test
ninja install
```

To export the thirdparty with Conan:
```
conan create . jsonld-cpp/0.5.0@amazon/testing --build-require
```

You may run into permission issues during the build when the dependencies are
Expand Down

0 comments on commit 0ca961c

Please sign in to comment.