Skip to content

Instantly share code, notes, and snippets.

@matiangul
Forked from trietptm/C++.sublime-build
Created October 7, 2013 09:26
Show Gist options
  • Save matiangul/6865061 to your computer and use it in GitHub Desktop.
Save matiangul/6865061 to your computer and use it in GitHub Desktop.
{
"cmd": ["g++", "${file}", "-o", "${file_path}/${file_base_name}"],
"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