Skip to content

Commit 17482ef

Browse files
authored
Updated for C++11
1 parent 8a1236c commit 17482ef

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

C++ Single File.sublime-build

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@
1717
{
1818
"name": "Run in New Terminal",
1919
"shell_cmd": "g++ \"${file}\" -o \"${file_path}/${file_base_name}\" && iTermLauncher \"clear && \\\"${file_path}/${file_base_name}\\\" && echo \\\"\n\nPress Return to exit...\\\" && read && exit\""
20+
},
21+
{
22+
"name": "C++11 - Run",
23+
"shell_cmd": "g++ \"${file}\" -std=c++11 -o \"${file_path}/${file_base_name}\" && \"${file_path}/${file_base_name}\""
24+
},
25+
{
26+
"name": "C++11 - Run in New Terminal - No Warning",
27+
"shell_cmd": "g++ \"${file}\" -std=c++11 -o \"${file_path}/${file_base_name}\" && iTermLauncher \"clear && \\\"${file_path}/${file_base_name}\\\" && read && exit\""
28+
},
29+
{
30+
"name": "C++11 - Run in New Terminal",
31+
"shell_cmd": "g++ \"${file}\" -std=c++11 -o \"${file_path}/${file_base_name}\" && iTermLauncher \"clear && \\\"${file_path}/${file_base_name}\\\" && echo \\\"\n\nPress Return to exit...\\\" && read && exit\""
2032
}
2133
]
2234
}

0 commit comments

Comments
 (0)