I’ve been trying to set up a cutom build for single C++ files.
this is my build.
{
"cmd": "g++", "$file", "-o", "$file_base_name", "-I/usr/local/include"],
"selector": "source.c++",
"windows":
{
"cmd": "cl", "/Fo${file_path}", "/O2", "/EHsc", "$file"]
}
}
The OSX part works fine, but the windows part keeps coming up
When I look at the console it generates
Which if I put this into a command prompt window works fine.
Any ideas?