private function buildIncludeList(Configuration $configuration) { $result = []; if ($configuration->getProject()->getPaths()) { foreach ($configuration->getProject()->getPaths()->getInclude() as $path) { $result[] = sprintf('/I"%s"', realpath($path)); } } if ($configuration->getPaths()) { foreach ($configuration->getPaths()->getInclude() as $path) { $result[] = sprintf('/I"%s"', realpath($path)); } } // TODO: Add the dependency include paths: return $result; }
protected function writePathList(DOMElement $parent, $name, $key, Configuration $configuration) { $projectDir = $this->config->getProjectsDirectory(); $paths = [$this->project->getPaths(), $configuration->getPaths()]; }