Created
January 22, 2016 18:39
-
-
Save Irvel/6562c89c6e9f499660ac to your computer and use it in GitHub Desktop.
C++11 Sublime Build system for OSX
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
{ | |
"cmd": ["clang++", "-Wall", "-std=c++11", "-stdlib=libc++", "${file}", "-o", "${file_path}/${file_base_name}"], | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.c, source.c++", | |
"variants": | |
[ | |
{ | |
"name": "Run", | |
"cmd": ["bash", "-c", "clang++ -Wall -std=c++11 -stdlib=libc++ '${file}' -o '${file_path}/${file_base_name}' && '${file_path}/${file_base_name}'"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment