Last active
December 15, 2015 22:29
-
-
Save whoo24/5333871 to your computer and use it in GitHub Desktop.
VC10 C++ Sublime Build Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cmd": | |
[ | |
"echo", "================================================================","&", | |
"echo", "building", "&", | |
"echo", "================================================================", "&", | |
"C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat", "&", | |
"cl.exe", "${file}", "/EHsc" | |
], | |
"encoding": "cp949", | |
//"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", | |
"file_regex": "^\\w+([0-9]*) : error", | |
//"env": {"LANG": "ko_KR.UTF-8"}, | |
"shell": true, | |
"variants": | |
[ | |
{ | |
"name": "Run", | |
/*"cmd": [ | |
"C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat", "&", | |
"cl.exe", "${file}", "&", | |
"echo", "================================================================", "&", | |
"${file_path}/${file_base_name}.exe" | |
] */ | |
"cmd": [ | |
"echo", "================================================================","&", | |
"echo", "building", "&", | |
"echo", "================================================================", "&", | |
"C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat", "&", | |
"cl.exe", "${file}", "/EHsc", "&", | |
"echo", "================================================================", "&", | |
"echo", "Running", "&", | |
"echo", "================================================================", "&", | |
"${file_path}/${file_base_name}.exe" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment