Merge branch 'docs/readme-build-subdirectory' into 'develop'

Update README.md - Build Peerplays in build sub-directory.

See merge request PBSA/peerplays!252
This commit is contained in:
Bobinson K B 2023-11-03 07:43:38 +00:00
commit 07dad6bcf2

View file

@ -114,10 +114,14 @@ cd peerplays
git submodule update --init --recursive
# 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
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;
# Recommended 4GB of RAM per 1 CPU core