Skip to content

Instantly share code, notes, and snippets.

@novnan
Forked from iissnan/C++.sublime-build
Created December 6, 2013 06:23
Show Gist options
  • Save novnan/7819401 to your computer and use it in GitHub Desktop.
Save novnan/7819401 to your computer and use it in GitHub Desktop.
{
"cmd": ["gcc", "${file}", "-o", "${file_path}/${file_base_name}.exe"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.c++",
"variants":
[
{
"name": "Run",
"cmd": ["${file_path}/${file_base_name}.exe"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment