Created
April 16, 2016 05:20
-
-
Save jerrymarino/c7f92378718cf99ecc4aa9d22dce5ff9 to your computer and use it in GitHub Desktop.
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
# YouCompleteMe configuration for OSX development | |
import os | |
import ycm_core | |
flags = [ | |
'-resource-dir', | |
'/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0', | |
'-isysroot', | |
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk', | |
'-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include', | |
'-F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks', | |
'-fblocks', | |
'-fobjc-runtime=macosx-10.10.0', | |
'-fencode-extended-block-signature', | |
'-fobjc-arc', | |
'-fobjc-exceptions', | |
'-fexceptions', | |
'-x', | |
'objective-c' | |
] | |
SOURCE_EXTENSIONS = [ '.cpp', '.cxx', '.cc', '.c', '.m', '.mm' ] | |
def FlagsForFile( filename, **kwargs ): | |
return { | |
'flags': flags, | |
'do_cache': True | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment