From eaf204e13e3779de82645ea09f51f7ed679fcfeb Mon Sep 17 00:00:00 2001 From: Paul Verest Date: Wed, 8 Sep 2021 00:55:27 +0800 Subject: [PATCH] format sr25519 C++ wrapper README --- sr25519/readme.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sr25519/readme.md b/sr25519/readme.md index 110ae16..aec0d1b 100644 --- a/sr25519/readme.md +++ b/sr25519/readme.md @@ -1,7 +1,14 @@ To build sr25519 C++ wrapper, get it from https://github.com/Warchant/sr25519-crust, + + git clone https://github.com/Warchant/sr25519-crust + then -cmake .. -DCMAKE_BUILD_TYPE=Release -DTESTING=OFF -DBUILD_SHARED_LIBS=FALSE + + cmake .. -DCMAKE_BUILD_TYPE=Release -DTESTING=OFF -DBUILD_SHARED_LIBS=FALSE + then -make -then copy libsr25519crust.a to the folder sr25519/cpp (same as jnimain.cpp) + + make + +then copy `libsr25519crust.`a to the folder `sr25519/cpp/` (next to `jnimain.cpp`)