mkdir c:\dev
cd c:\dev
git clone https://github.com/tonkatsu7/handmade.git
How to Access the Windows 10 Startup Folder
- Locate personal startup folder
- Run...
shell:startup
- For example, on my Razer this was
C:\Users\sipha\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
- Run...
- Create
startup.bat
inside- Paste the contents
@echo off subst w: c:\dev
- Paste the contents
- Copy CMD shortcut to desktop
- Right click shortcut properties
- Target =
%windir%\system32\cmd.exe /k w:\handmade\misc\shell.bat
4
- Double click on CMD desktop short cut created in the previous step
- This should take you to CMD prompt at
W:\handmade
and - Open VS Code with the handmade project
- This should take you to CMD prompt at
- Build the exe
- In the CMD prompt
cd code build.bat
- Debug in VS
devenv ..\..\build\win32_handmade.exe
- In the CMD prompt