C++.sublime-build<\/strong> file:<\/li>\n<\/ol>\n{
\n\"cmd\": [\"g++\", \"${file}\", \"-o\", \"${file_path}\/${file_base_name}\"],
\n\"file_regex\": \"^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$\",
\n\"working_dir\": \"${file_path}\",
\n\"selector\": \"source.c, source.c++\",
\n\"variants\":
\n[
\n{
\n\"name\": \"Run\",
\n\"cmd\": [\"bash\", \"-c\", \"g++ '${file}' -o '${file_path}\/${file_base_name}' && '${file_path}\/${file_base_name}'\"]
\n}
\n]
\n}
\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"Using the ever-so-wonderful Sublime Text as your primary editor is a joy in itself, however, building your .cpp files under OS X with it was something I wasn’t able to do out-of-the-box. Here are the steps that would enable you start compiling in no time – and as always, you need to have Xcode installed […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/151"}],"collection":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/comments?post=151"}],"version-history":[{"count":3,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/151\/revisions"}],"predecessor-version":[{"id":162,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/151\/revisions\/162"}],"wp:attachment":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/media?parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/categories?post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/tags?post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}