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

This commit is contained in:
Bharathi Chandrasekaran 2023-11-02 15:51:48 +00:00
parent 664379a8c1
commit 64682a079c

View file

@ -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