From 0ca961c436cae76f755c70b88415154022bbcf28 Mon Sep 17 00:00:00 2001 From: Matthieu Longo Date: Thu, 23 Feb 2023 19:11:04 +0000 Subject: [PATCH] Update README with instructions for Conan --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2a44a9d..5783d90 100644 --- a/README.md +++ b/README.md @@ -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