Cześć
Chce w Sublime text uruchamiać programy c++ przy pomocy kompilatora z Visual Studio.
Znalazłem taki plik buildu
{
"cmd": ["cl", "${file}"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.cpp, source.c++",
// By default cl is not in your PATH, so add it to your path
// or uncomment "path" and check that it has correct value
//"path": "path:/to/folder/where/cl.exe/located",
"shell": true, // Without this sublime has hard times to parse "&" in out command line
"variants":
{
"name": "Run",
"cmd": ["cl", "${file}", "&", "${file_path}/${file_base_name}.exe"]
}
}
Problem w tym, że programy uruchamiają się w konsoli Sublime, zamiast w systemowej.
Czy ktoś potrafi pisać pliki build dla Sublime?