Skip to content

A Powershell equivalent of Handmade Hero's build process

Notifications You must be signed in to change notification settings

oliverbenns/handmade-hero-powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Handmade Hero Powershell

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.

Setup

  • 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.

Build

  • Open Powershell
  • ./misc/build

Startup

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.