mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 07:14:09 +02:00
Fixed issue of file hashing causing too much rebuilding
This commit is contained in:
parent
592471434f
commit
807b71d433
10 changed files with 53 additions and 22 deletions
|
@ -57,12 +57,18 @@ namespace IDE.Compiler
|
|||
mResolveAllWait = 2;
|
||||
}
|
||||
|
||||
public virtual void QueueProjectSource(ProjectSource projectSource, bool wantsHash)
|
||||
public virtual void QueueProjectSource(ProjectSource projectSource, SourceHash sourceHash, bool wantsHash)
|
||||
{
|
||||
ProjectSourceCommand command = new ProjectSourceCommand();
|
||||
command.mProjectSource = projectSource;
|
||||
command.mSourceString = new String();
|
||||
command.mSourceHash = sourceHash;
|
||||
|
||||
var wantsHash;
|
||||
if (!(sourceHash case .None))
|
||||
wantsHash = false;
|
||||
IDEApp.sApp.FindProjectSourceContent(projectSource, out command.mSourceCharIdData, false, command.mSourceString, wantsHash ? &command.mSourceHash : null);
|
||||
|
||||
if (gApp.mBfBuildCompiler == this)
|
||||
{
|
||||
if (gApp.mDbgVersionedCompileDir != null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue