예제 #1
0
        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++");
        }
예제 #2
0
        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++");
        }