public static void SetupXcode(this ParserOptions options) { var builtinsPath = XcodeToolchain.GetXcodeBuiltinIncludesFolder(); options.addSystemIncludeDirs(builtinsPath); var cppIncPath = XcodeToolchain.GetXcodeCppIncludesFolder(); options.addSystemIncludeDirs(cppIncPath); var includePath = XcodeToolchain.GetXcodeIncludesFolder(); options.addSystemIncludeDirs(includePath); options.NoBuiltinIncludes = true; options.NoStandardIncludes = true; options.addArguments("-stdlib=libc++"); }
public void SetupXcode() { var builtinsPath = XcodeToolchain.GetXcodeBuiltinIncludesFolder(); AddSystemIncludeDirs(builtinsPath); var cppIncPath = XcodeToolchain.GetXcodeCppIncludesFolder(); AddSystemIncludeDirs(cppIncPath); var includePath = XcodeToolchain.GetXcodeIncludesFolder(); AddSystemIncludeDirs(includePath); NoBuiltinIncludes = true; NoStandardIncludes = true; AddArguments("-stdlib=libc++"); }