1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| { "encoding": "utf-8", "working_dir": "$file_path", "shell_cmd": "g++ -Wall -std=c++11 \".\\$file_name\" -O2 \".\\$file_base_name\"", "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", "selector": "source.c++", "variants": [ { "name": "Run Normal", "shell_cmd": "g++ \"$file\" -o \"$file_base_name\" -std=c++11 -O2 -Wl,--stack=4194304 && start cmd /c \"\"${file_path}/${file_base_name}\" & pause\"" }, { "name": "Run Full Stack", "shell_cmd": "g++ \"$file\" -o \"$file_base_name\" -O2 -Wl,--stack=268435456 && start cmd /c \"\"${file_path}/${file_base_name}\" & pause\"" }, { "name": "Run C++14", "shell_cmd": "g++ \"$file\" -o \"$file_base_name\" -std=c++14 -O2 -Wl,--stack=4194304 && start cmd /c \"\"${file_path}/${file_base_name}\" & pause\"" }, ] }
|