Guest User

sublime-gcc

a guest
Apr 4th, 2018
537
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. {
  2. "cmd": ["gcc", "${file}", "-o", "${file_base_name}.exe"],
  3. "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
  4. "working_dir": "${file_path}",
  5. "selector": "source.c, source.c++",
  6. "shell": true,
  7. "variants":
  8. [
  9. {
  10. "name": "Run",
  11. "cmd": ["gcc", "${file}", "-o", "${file_base_name}.exe", "&&", "start", "cmd", "/k", "${file_path}/${file_base_name}.exe"],
  12. "shell": true
  13. }
  14. ]
  15. }
Advertisement
Add Comment
Please, Sign In to add comment