Thanks for the tip. It didn't quite work for me, maybe because I'm still just on day 004 and something changed later.
I got something else to work, which I will post in case it's useful to anyone.
I saved the build config as part of a sublime project config, so the equivalent portion to the OP is just the "build_system" part.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 | {
"folders":
[
{
"path": "."
}
],
"build_systems": [
{
"name": "Build Handmade Hero",
"shell_cmd": "\"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/Tools/VsDevCmd.bat\" -no_logo & cd \"C:/FULL/PATH/TO/handmade-hero/handmade/code/\" & \"build.bat\"",
"selector": "source.c, source.cpp, source.c++"
}
]
}
|
Sorry for the really long line. :)
Note the part where you have to replace "FULL/PATH/TO" ... also, I'm not currently using the "W:" drive with "subst", but you might have to add something to get the shell to switch to the "W:" drive in that case.