View Sublime2 Cpp build
{
"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",
View Sublime2 Cpp build
{
"cmd": ["g++", "-std=c++0x", "$file", "-o", "$file_base_name"],
"selector": "source.c++",
"working_dir": "$file_path",
"variants":
[
{
"name": "Run",
"cmd": ["g++", "-std=c++0x", "$file", "-o", "${file_base_name}", "&&", "${file_path}/${file_base_name}",