Update README.md - Build Peerplays in build sub-directory.
This commit is contained in:
parent
664379a8c1
commit
64682a079c
1 changed files with 6 additions and 2 deletions
|
|
@ -114,10 +114,14 @@ cd peerplays
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
# If you want to build Mainnet node
|
# If you want to build Mainnet node
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
|
|
||||||
# If you want to build Testnet node
|
# If you want to build Testnet node
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET=1
|
mkdir build-testnet
|
||||||
|
cd build-testnet
|
||||||
|
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET=1 ..
|
||||||
|
|
||||||
# Update -j flag depending on your current system specs;
|
# Update -j flag depending on your current system specs;
|
||||||
# Recommended 4GB of RAM per 1 CPU core
|
# Recommended 4GB of RAM per 1 CPU core
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue