Robin2706

Sublime Text 2 : GCC Build and Run C11 Code

Mar 21st, 2015
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. {
  2. "cmd" : ["gcc", "-std=c11", "-lm", "$file_name", "-o", "${file_base_name}.exe"],
  3. "selector" : "source.c",
  4. "shell" : true,
  5. "working_dir" : "$file_path",
  6.  
  7. "variants":
  8. [
  9. {
  10. "name": "Run",
  11. "cmd": ["start", "cmd", "/K", "${file_base_name}.exe"]
  12. }
  13. ]
  14. }
Advertisement
Add Comment
Please, Sign In to add comment