SublimeClang配置Cocos2d-x环境

SublimeClang.sublime-settings中配置

{"options":

[

  "-Wall",

            //"-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/",

            //"-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/c++/v1",

            //"-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.0/include",

            //"-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include",

            //"isysroot",

            "-DCC_TARGET_OS_IPHONE",

            "-isystem", "/Users/lvxiaofeng/Work/work-environment/cocos2d-x-2.1.5/cocos2dx",

            "-isystem", "/Users/lvxiaofeng/Work/work-environment/cocos2d-x-2.1.5/cocos2dx/include",

            "-isystem", "/Users/lvxiaofeng/Work/work-environment/cocos2d-x-2.1.5/cocos2dx/platform/ios",

            "-isystem", "/Users/lvxiaofeng/Work/work-environment/cocos2d-x-2.1.5/cocos2dx/platform/third_party/ios",

            "-F", "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks",

            "-I/Users/lvxiaofeng/Work/work-environment/cocos2d-x-2.1.5/cocos2dx/kazmath/include",

            "-I/Users/lvxiaofeng/Work/work-environment/cocos2d-x-2.1.5/CocosDenshion/include",

            "-isystem", "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk",

            "-isystem", "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/usr/include"

]}

你可能感兴趣的:(Sublime,Text,Cocos2d-x,游戏,xcode,c/c++)