A Powershell equivalent of Handmade Hero's build process. Casey uses .bat
and Command Prompt and I felt it would be more worthwhile for me to Powershell as it's newer and more friendly to UNIX style commands. This repository is the end-state after Day 001.
- Install Visual Studio
- If not installing VS 2017 or you don't install it in the default location, edit misc/shell.ps1 and ensure the path to
vcvarsall
is correct.
- Open Powershell
./misc/build
If you wish to have the Visual Studio compiler CLI available (cl
command) on startup. Add this to your Powershell profile.ps1
: /path/to/handmade/misc/shell.ps1
, or copy and paste the file contents directly.