Skip to content

Instantly share code, notes, and snippets.

@chutaicho
Last active December 30, 2015 13:09
Show Gist options
  • Save chutaicho/7833816 to your computer and use it in GitHub Desktop.
Save chutaicho/7833816 to your computer and use it in GitHub Desktop.
Project file template for OF + Sublime 2 + Sublimeclang. Related post: http://codingnote.tumblr.com/post/69201477364
{
"folders":
[
{
"path": "PATH TO YOUR PROJECT"
},
{
"path": "PATH TO OPENFRAMEWORKS"
}
],
"settings":
{
"add_language_option": true,
"additional_language_options":
{
"c":[],"c++":["-std=c++11"],"objc":[],"objc++":[]
},
"sublimeclang_enable_fast_completions": true,
"sublimeclang_options":
[
"-Wno-deprecated-declarations",
"-Isystem",
"-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/",
"-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1/",
"-I/PATH TO OPENFRAMEWORKS/libs/**",
"-I/PATH TO OPENFRAMEWORKS/addons/**",
"-I${folder:${project_path:*.sublime-project}}/src/**"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment