Skip to content

Instantly share code, notes, and snippets.

@clijiac
clijiac / C++.sublime-build
Created May 27, 2012 13:11
Getting Sublime Text to build a C++ file.
{
"cmd": ["g++", "$file", "-o", "$file_base_name", "-I/usr/local/include"],
"selector": "source.c++",
"windows":
{
"cmd": ["cl", "/Fo${file_path}", "/O2", "$file"]
}
}