Automatic Build in Sublime Text is not working for C++

Viewed 1458

I have created the Custom Build System for C++ file. Below is my Build System:

{
    "cmd": ["g++", "-Wall", "-time", "$file", "-o", "$file_base_name","&&", "start", "cmd","/c","${file_base_name}","^&","cmd","/c","pause"],
        "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
        "working_dir": "${project_path:${folder}}",
        "selector": "source.cpp",
        "shell": true,    
}

The thing is, it is working only if I select this build system manually. If I specify Automatic build system, the system's c++ build system is working instead of mine. How to change this behavior?

1 Answers
Related