2023-09-08 07:07:34 -07:00
|
|
|
# HandmadeHero
|
|
|
|
|
2023-09-10 07:40:22 -07:00
|
|
|
Any code I do for this [series](https://handmadehero.org) will be here.
|
2023-09-08 12:14:09 -07:00
|
|
|
|
2023-09-08 13:09:49 -07:00
|
|
|
***(Only original hand-written code will be here, no code from the series itself)***
|
2023-09-08 10:00:05 -07:00
|
|
|
|
|
|
|
## Scripts
|
|
|
|
|
2023-09-09 09:47:06 -07:00
|
|
|
* `build.ps1` - Builds the project use `.\scripts\build msvc` or `.\scripts\build clang`. Add `release` to build in release mode
|
2023-09-08 10:00:05 -07:00
|
|
|
* `clean.ps1` - Cleans the project
|
2023-09-09 09:47:06 -07:00
|
|
|
* `update_deps.ps1` - Updates the project dependencies to their latest from their respective repos. (Not done automatically on build)
|
2023-09-08 12:14:09 -07:00
|
|
|
|
2023-09-09 17:30:45 -07:00
|
|
|
*Make sure to run `update_deps.ps1` before building for the first time.*
|
|
|
|
|
2023-09-08 12:14:09 -07:00
|
|
|
## Notes
|
|
|
|
|
|
|
|
Building requires msvc or llvm's clang + lld, and powershell 7
|
|
|
|
|
|
|
|
The build is done in two stages:
|
|
|
|
|
2023-09-09 09:47:06 -07:00
|
|
|
1. ~~Build and run metaprogram to scan and generate dependent code.~~ (Not needed yet)
|
2023-09-08 12:14:09 -07:00
|
|
|
2. Build the handmade hero runtime.
|
|
|
|
|