sublime text2 C++ビルド

//C++.sublime-build

{

"cmd": ["gcc", "$file_name", "-o", "${file_base_name}"],

"working_dir": "${file_path}",

"selector": "source.c, source.c++",

"shell": true,

"path": "C:\\MinGW\\bin\\",

"encoding": "cp932",

 

"variants":

[

{

"name": "Run",

                        "encoding": "utf-8",

"cmd": ["${file_base_name}.exe"]

}

]

}

あとWimGWをダウンロード

http://sourceforge.jp/projects/sfnet_mingw/downloads/Installer/mingw-get-setup.exe/