1{
2 "cmd": ["g++", "-std=c++14", "${file}", "-o", "${file_path}/${file_base_name}"],
3 "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
4 "working_dir": "${file_path}",
5 "selector": "source.c, source.c++",
6 "variants":
7 [
8 {
9 "name": "Run",
10 "cmd":["bash", "-c", "g++ -std=c++1y '${file}' -o '${file_path}/${file_base_name}' && '${file_path}/${file_base_name}'"]
11 }
12 ]
13
14}
15
1{
2 "cmd":["bash", "-c", "g++ -std=c++14 -Wall '${file}' -o '${file_path}/${file_base_name}' && '${file_path}/${file_base_name}'"],
3 "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
4 "working_dir": "${file_path}",
5 "selector": "source.c, source.c++",
6 "variants":
7 [
8 {
9 "name": "Run",
10 "cmd":["bash", "-c", "g++ -std=c++14 '${file}' -o '${file_path}/${file_base_name}' && '${file_path}/${file_base_name}'"]
11 }
12 ]
13}
14