sublime c++ builder

rt, mark

{
    "cmd": ["g++", "${file}", "-o", "${file_path}/${file_base_name}"],
    "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
    "working_dir": "${file_path}",
    "selector": "source.c, source.c++, source.cpp",
    "shell": true,
    "variants":
    [
        {
            "name": "Run",
            "cmd": [ "start", "${file_path}/${file_base_name}.exe" ]
        }
    ]
}

 

posted @ 2014-04-18 21:21  yedeying  阅读(183)  评论(0编辑  收藏  举报