Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oliverbenns/handmade-hero-powershell

A Powershell equivalent of Handmade Hero's build process
https://github.com/oliverbenns/handmade-hero-powershell

build compiler cpp handmade handmade-hero powershell visual-studio visual-studio-2017

Last synced: 12 days ago
JSON representation

A Powershell equivalent of Handmade Hero's build process

Awesome Lists containing this project

README

        

# Handmade Hero Powershell

A Powershell equivalent of Handmade Hero's build process. Casey uses `.bat` and [Command Prompt](https://en.wikipedia.org/wiki/Cmd.exe) and I felt it would be more worthwhile for me to [Powershell](https://en.wikipedia.org/wiki/PowerShell) as it's newer and more friendly to UNIX style commands. This repository is the end-state after [Day 001](https://www.youtube.com/watch?v=Ee3EtYb8d1o).

## Setup

- Install Visual Studio
- If not installing VS 2017 or you don't install it in the default location, edit [misc/shell.ps1](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.