tonkatsu7 / handmade

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting started

If cloning the repo

  1. mkdir c:\dev
  2. cd c:\dev
  3. git clone https://github.com/tonkatsu7/handmade.git

Windows Startup folder

How to Access the Windows 10 Startup Folder

  1. Locate personal startup folder
    1. Run... shell:startup
    2. For example, on my Razer this was C:\Users\sipha\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
  2. Create startup.bat inside
    1. Paste the contents
      @echo off
      subst w: c:\dev

CMD shortcut that executes shell.bat

  1. Copy CMD shortcut to desktop
    1. Right click shortcut properties
    2. Target = %windir%\system32\cmd.exe /k w:\handmade\misc\shell.bat4

Open CMD and VS Code

  1. Double click on CMD desktop short cut created in the previous step
    1. This should take you to CMD prompt at W:\handmade and
    2. Open VS Code with the handmade project
  2. Build the exe
    1. In the CMD prompt
      cd code
      build.bat
    2. Debug in VS
      devenv ..\..\build\win32_handmade.exe

About


Languages

Language:C++ 98.3%Language:Batchfile 1.7%