|
|
@ -18,10 +18,13 @@ namespace CppSharp.Passes |
|
|
|
|
|
|
|
|
|
|
|
// Try to get an include path that works from the original include
|
|
|
|
// Try to get an include path that works from the original include
|
|
|
|
// directories paths.
|
|
|
|
// directories paths.
|
|
|
|
|
|
|
|
if (unit.IsValid) |
|
|
|
|
|
|
|
{ |
|
|
|
unit.IncludePath = GetIncludePath(unit.FilePath); |
|
|
|
unit.IncludePath = GetIncludePath(unit.FilePath); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
string GetIncludePath(string filePath) |
|
|
|
string GetIncludePath(string filePath) |
|
|
|
{ |
|
|
|
{ |
|
|
|