Skip to content

Instantly share code, notes, and snippets.

@iissnan
Forked from trietptm/C++.sublime-build
Created December 6, 2013 00:22
Show Gist options
  • Save iissnan/7816621 to your computer and use it in GitHub Desktop.
Save iissnan/7816621 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"]
}
]
}
@iissnan
Copy link
Author

iissnan commented Dec 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment