Skip to content

Instantly share code, notes, and snippets.

@Ruzzz
Last active January 3, 2016 03:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ruzzz/8400011 to your computer and use it in GitHub Desktop.
Save Ruzzz/8400011 to your computer and use it in GitHub Desktop.
{
"env" :
{
"CL_PARAMS" : "/O2 /W3 /GL /MT /GS /EHsc /D \"NDEBUG\" /D \"_UNICODE\" /D \"UNICODE\" /D \"WIN32_LEAN_AND_MEAN\" /D \"WIN32\" /D \"_WINDOWS\"",
"LINK_PARAMS" : "/link /OPT:REF /SUBSYSTEM:CONSOLE",
"EXE_SUFIX" : "_x64.exe"
},
"path" : "%PATH%;%ProgramFiles(x86)%\\microsoft visual studio 11.0\\vc",
"shell_cmd": "vcvarsall.bat amd64 && cl.exe %CL_PARAMS% \"${file}\" %LINK_PARAMS% /OUT:\"${file_base_name}%EXE_SUFIX%\" && del *.obj",
"file_regex": "^(...*?)[(]([0-9]*),([0-9]*)[)]",
"selector": "source.c, source.c++, source.cpp",
"working_dir": "${file_path}",
"variants":
[
{
"name": "Run",
"shell_cmd": "\"${file_path}\\\\${file_base_name}%EXE_SUFIX%\""
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment