diff --git a/resources/docs/compguide.md b/resources/docs/compguide.md index ce31825..286a098 100644 --- a/resources/docs/compguide.md +++ b/resources/docs/compguide.md @@ -18,34 +18,47 @@ Run the following in your terminal: -``sudo apt update +```bash +sudo apt update -sudo apt install -y ninja-build clang lld cmake ccache libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxinerama-dev libwayland-dev libxkbcommon-dev wayland-protocols git`` +sudo apt install -y ninja-build clang lld cmake ccache libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxinerama-dev libwayland-dev libxkbcommon-dev wayland-protocols git +``` Now run the following: -``git clone https://www.github.com/pound-emu/pound.git`` +```bash +git clone https://www.github.com/pound-emu/pound.git +cd pound +``` and then: -``cmake -G Ninja -B (where you put pound source code) -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++`` +`cmake -G Ninja -B . -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++` ## Linux (Arch/SteamOS) Run the following commands in your terminal: -`` + +```bash sudo pacman -S ninja clang lld cmake ccache libx11 libxext libxrandr libxcursor libxi libxinerama libxkbcommon wayland-protocols git -`` + +``` Now: -``git clone https://www.github.com/pound-emu/pound.git`` + +```bash +git clone https://www.github.com/pound-emu/pound.git --recursive +``` then: -`` + +```bash cd pound -`` + +``` lastly: -`` + +```bash cmake -G Ninja -B . -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -`` \ No newline at end of file +```