diff --git a/docs/building.md b/docs/building.md index b859864e5..9e1b50262 100644 --- a/docs/building.md +++ b/docs/building.md @@ -152,6 +152,31 @@ cmake --build build -j $(sysctl -n hw.ncpuonline)
Windows via MinGW +
Installing Windows Subsystem for Linux + +If you are building on Windows and do not have WSL already setup this will install WSL and Ubuntu by default (Requires Windows 10 2004 or higher or Windows 11) + +In an Administrator Command Prompt or Powershell + +```wsl --install``` + +Reboot + +Wait for Command Prompt to pop up and say installing when complete enter your new Linux password + +You can launch WSL anytime by typing wsl or ubuntu in a Command Prompt or Powershell or in the Start Menu launch the Ubuntu App + +### Setup git and clone DevilutionX + +In a WSL terminal run these commands to get the source code for DevilutionX + +``` +sudo apt install git +git clone https://github.com/diasurgical/devilutionx +cd devilutionx +``` +
+ ### Installing dependencies on WSL, Debian and Ubuntu ### 32-bit