mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Comptime rebuild flag
This commit is contained in:
parent
ce4b6e04de
commit
4f83b61a10
7 changed files with 30 additions and 7 deletions
|
@ -76,6 +76,9 @@ namespace IDE.Compiler
|
|||
[CallingConvention(.Stdcall), CLink]
|
||||
static extern int32 BfCompiler_GetCurConstEvalExecuteId(void* bfCompiler);
|
||||
|
||||
[CallingConvention(.Stdcall), CLink]
|
||||
static extern bool BfCompiler_GetLastHadComptimeRebuilds(void* bfCompiler);
|
||||
|
||||
[CallingConvention(.Stdcall), CLink]
|
||||
static extern void BfCompiler_Delete(void* bfCompiler);
|
||||
|
||||
|
@ -834,5 +837,10 @@ namespace IDE.Compiler
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
public bool GetLastHadComptimeRebuilds()
|
||||
{
|
||||
return BfCompiler_GetLastHadComptimeRebuilds(mNativeBfCompiler);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9168,11 +9168,7 @@ namespace IDE
|
|||
if (lastCompileHadMessages)
|
||||
doCompile = true;
|
||||
|
||||
bool needsComptime = true;
|
||||
for (var project in mWorkspace.mProjects)
|
||||
{
|
||||
//Set needsComptime
|
||||
}
|
||||
bool needsComptime = bfCompiler.GetLastHadComptimeRebuilds();
|
||||
|
||||
if ((!workspaceOptions.mIncrementalBuild) && (!lastCompileHadMessages))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue