This builds single C++ files in Sublime Text, handy for testing small things.
- OSX (Assuming xcode installed)
- Linux (Should work if g++ is installed)
- Windows (Need CL working)
Thanks to adnansky for Linux Test and Shell update.
patch:add "encoding": "gb2312" to handle [Decode error - output not utf-8][Finished] http://www.sublimetext.com/forum/viewtopic.php?f=3&t=1535
I got unknown "cl" command in Windows, and also
gb2312
encoding did not fix the non-UTF-8 error. Mine had to be latin1 instead. Here's my working C++ builder working in Windows:Requires MinGW's C++ compiler installed and add
C:\MinGW\bin
to yourPATH
.