Skip to content

Instantly share code, notes, and snippets.

@petermac-
Last active December 11, 2015 22:41
Show Gist options
  • Save petermac-/d16c89413470048ff7fe to your computer and use it in GitHub Desktop.
Save petermac-/d16c89413470048ff7fe to your computer and use it in GitHub Desktop.
MinGW-w64.sublime-build
{
"cmd": ["g++", "-o", "${file_path}/${file_base_name}.exe", "-static-libgcc", "-static-libstdc++", "*.cpp"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.cpp, source.c++",
"path": "c:/Program Files/mingw-w64/mingw64/bin",
"shell": true,
"variants": [
{
"name": "Run",
"cmd": ["g++", "-o", "${file_path}/${file_base_name}.exe", "-static-libgcc", "-static-libstdc++", "*.cpp", "&", "${file_path}/${file_base_name}.exe"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment