Example #1
0
 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;
 }