Just a note for any sublime users, if you don't want to have to launch sublime text from an already created shell, you can edit the build command to call shell each time. It will make the process a bit slower (due to re-running vcvarsall) but it will also let you use other shortcuts you might already have.
Just go into the .sublime-build file and in the value for "shell_cmd", prepend:
so that the entire line looks like:
| "shell_cmd": "/Path/To/shell.bat && /Path/To/build.bat"
|
Also, a tip: You can add build variants like "Run" if you want to streamline the testing process. Here's what mine looks like:
| "variants":
[
{
"name": "Run",
"shell_cmd": "cd C:/dev/test/hero && C:/dev/test/hero/build.bat && C:/dev/test/hero/build/x64/win32_handmade.exe"
}
]
|
(be sure you add a comment on the line above this so the JSON is still valid)
Sublime will automatically bind build variants called "Run" to Ctrl+Shift+B, which is nice for quickly running things. You don't get VS debugging, but that is simple enough to launch the old fashioned way.