Skip to content

Instantly share code, notes, and snippets.

@Rayraegah
Last active December 30, 2015 21:29
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 Rayraegah/7888086 to your computer and use it in GitHub Desktop.
Save Rayraegah/7888086 to your computer and use it in GitHub Desktop.
Sublime Text 3, C++ compiler command
{
"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