Skip to content

Instantly share code, notes, and snippets.

@Ruzzz
Created April 26, 2014 11:56
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/11318307 to your computer and use it in GitHub Desktop.
Save Ruzzz/11318307 to your computer and use it in GitHub Desktop.
{
"shell_cmd": "g++.exe \"${file}\" -O2 -std=c++0x -s -static -o \"${file_path}\\\\${file_base_name}\"",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"path" : "%PATH%;c:\\mingw64\\bin\\",
"working_dir": "${file_path}",
"selector": "source.c, source.c++, source.cpp",
"variants":
[
{
"name": "Run",
"shell_cmd": "g++.exe \"${file}\" -O2 -std=c++0x -o \"${file_path}\\\\${file_base_name}\" && \"${file_path}\\\\${file_base_name}.exe\""
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment