**NOTE - If you run Sublime text from the command line this will not work. You need to run it from the Shortcut.
How to use
-Go to Tools->Build Systems->New Build System
-Copy the following into the file and save it accordingly
1 2 3 4 5 6 | { "cmd": ["${file_path}/build.bat", "${file}"], "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", "working_dir": "w:/build", "selector": "source.c, source.cpp, source.c++" } |
-Select the new build system
-To build simply press F7