📜  c++ 在 sublime linux 中构建系统以进行竞争性编程 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:25.545000             🧑  作者: Mango

代码示例1
{"cmd": ["g++", "-std=c++14", "$file", "-o", "${file_path}/${file_base_name}"],"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$","working_dir": "${file_path}","selector": "source.c, source.c++, source.cxx, source.cpp","variants":[{"name": "Run","cmd": ["bash", "-c", "g++ -std=c++14 '${file}' -o '${file_path}/${file_base_name}' && terminator -x bash -c '\"${file_path}/${file_base_name}\" ; read'"]}]}