Add support for using library-style includes for build tool includes cache
This commit is contained in:
@@ -145,7 +145,10 @@ namespace Flax.Build.NativeCpp
|
|||||||
|
|
||||||
// Skip files from system libraries and SDKs
|
// Skip files from system libraries and SDKs
|
||||||
if (isLibraryInclude)
|
if (isLibraryInclude)
|
||||||
continue;
|
{
|
||||||
|
//Log.Error(sourceFile + " -> " + includedFile);
|
||||||
|
//continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Relative to the workspace root
|
// Relative to the workspace root
|
||||||
var includedFilePath = Path.Combine(Globals.Root, "Source", includedFile);
|
var includedFilePath = Path.Combine(Globals.Root, "Source", includedFile);
|
||||||
@@ -171,7 +174,7 @@ namespace Flax.Build.NativeCpp
|
|||||||
if (!isValid)
|
if (!isValid)
|
||||||
{
|
{
|
||||||
// Invalid include
|
// Invalid include
|
||||||
Log.Verbose(string.Format("File '{0}' includes file '{1}' but it does not exist!", sourceFile, includedFile));
|
//Log.Error(string.Format("File '{0}' includes file '{1}' but it does not exist!", sourceFile, includedFile));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user