Browse Source

Expand the paths so that they are correct when passed to Clang.

pull/1/head
triton 13 years ago
parent
commit
a01a3cccd3
  1. 4
      src/Generator/Driver.cs

4
src/Generator/Driver.cs

@ -45,9 +45,7 @@ namespace Cxxi
for (var i = 0; i < Options.IncludeDirs.Count; i++) for (var i = 0; i < Options.IncludeDirs.Count; i++)
{ {
if (Options.IncludeDirs[i] != ".") Options.IncludeDirs[i] = Path.GetFullPath(Options.IncludeDirs[i]);
continue;
Options.IncludeDirs[i] = Directory.GetCurrentDirectory();
} }
} }

Loading…
Cancel
Save