windir%\system32\cmd.exe /k c:\Users\andres.mendez\Development\handmadehero\handmade\misc\shell.bat && cd /d w:\
shell:startup
paste startup.bat
@echo off | |
mkdir ..\..\build | |
pushd ..\..\build | |
cl -Zi ..\handmade\code\win32_handmade.cpp user32.lib | |
popd |
@echo off | |
call "c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" |
@echo off | |
subst w: c:\Users\andres.mendez\Development\handmadehero |
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "build", | |
"type": "shell", | |
"command": "../code/build", | |
"windows" :{ | |
"command": ".\\code\\build.bat" | |
}, | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
} | |
}, | |
{ | |
"label": "run", | |
"type": "shell", | |
"command": "../code/build", | |
"windows" :{ | |
"command": "..\\..\\build\\win32_handmade.exe" | |
}, | |
"group": { | |
"kind": "test", | |
"isDefault": true | |
} | |
} | |
] | |
} |