Created
April 11, 2016 16:41
-
-
Save arya-oss/4a8226f4e514592711fce4811be7229f to your computer and use it in GitHub Desktop.
GCC build option for sublime. create new build system and add following lines
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
Show hidden characters
{ | |
"cmd": ["gcc", "$file", "-o", "${file_path}/${file_base_name}"], | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.c", | |
"variants": | |
[ | |
{ | |
"name": "Run", | |
"shell": true, | |
"cmd": ["gnome-terminal -e 'bash -c \"${file_path}/${file_base_name}; echo; echo Press ENTER to continue; read line;exit; exec bash\"'"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment