Created
November 22, 2020 01:58
-
-
Save arnabsen1729/3a1a2a7010886ab1f3d37e037dc577e4 to your computer and use it in GitHub Desktop.
My C++ sublime build config for CP
This file contains hidden or 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": ["g++", "-std=c++17", "-Wextra", "-Wshadow", "-Wall", "-DLOCAL_MACHINE", "-fsanitize=undefined", "$file", "-o", "${file_path}/${file_base_name}"], | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.c, source.c++, source.cxx, source.cpp", | |
"variants": | |
[ | |
{ | |
"name": "Run", | |
"shell": true, | |
"cmd": ["gnome-terminal -e 'bash -c \"${file_path}/${file_base_name};echo;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