preprocessor.getSystemIncludePath().addAll(includes);
preprocessor.getSystemIncludePath().addAll(includes);
pp.setListener(new PreprocessorListener()); pp.addMacro("__JCPP__"); pp.getSystemIncludePath().add("/usr/local/include"); pp.getSystemIncludePath().add("/usr/include"); pp.getFrameworksPath().add("/System/Library/Frameworks"); pp.getFrameworksPath().add("/Library/Frameworks"); break; case 'I': pp.getSystemIncludePath().add(g.getOptarg()); break; case 0: // --iquote= System.err.println(" " + dir); System.err.println("#"+"include <...> search starts here:"); for (String dir : pp.getSystemIncludePath()) System.err.println(" " + dir); System.err.println("End of search list.");
pp.setListener(new PreprocessorListener()); pp.addMacro("__JCPP__"); pp.getSystemIncludePath().add("/usr/local/include"); pp.getSystemIncludePath().add("/usr/include"); pp.getFrameworksPath().add("/System/Library/Frameworks"); pp.getFrameworksPath().add("/Library/Frameworks"); break; case 'I': pp.getSystemIncludePath().add(g.getOptarg()); break; case 0: // --iquote= System.err.println(" " + dir); System.err.println("#"+"include <...> search starts here:"); for (String dir : pp.getSystemIncludePath()) System.err.println(" " + dir); System.err.println("End of search list.");
pp.setListener(new DefaultPreprocessorListener()); pp.addMacro("__JCPP__"); pp.getSystemIncludePath().add("/usr/local/include"); pp.getSystemIncludePath().add("/usr/include"); pp.getFrameworksPath().add("/System/Library/Frameworks"); pp.getFrameworksPath().add("/Library/Frameworks"); pp.getSystemIncludePath().add(dir.getAbsolutePath()); for (File dir : options.valuesOf(iquoteOption)) pp.getQuoteIncludePath().add(dir.getAbsolutePath()); LOG.info(" " + dir); LOG.info("#" + "include <...> search starts here:"); for (String dir : pp.getSystemIncludePath()) LOG.info(" " + dir); LOG.info("End of search list.");