improvements
This commit is contained in:
@@ -152,7 +152,6 @@ LinkProject_t CClangCompiler::Compile( CProject_t *pProject )
|
||||
// Run CC
|
||||
for (auto &file: pProject->files)
|
||||
{
|
||||
V_printf(" CC %s\n", file.GetString());
|
||||
|
||||
bool bAreDependenciesUpdated = false;
|
||||
CUtlString szOutputFile = GetOutputObjectName(pProject, hash, file);
|
||||
@@ -201,6 +200,10 @@ LinkProject_t CClangCompiler::Compile( CProject_t *pProject )
|
||||
args.AppendTail(CUtlString("--sysroot=%s", pProject->m_target.szSysroot));
|
||||
}
|
||||
*/
|
||||
if (!filesystem2->ShouldRecompile(file, szOutputFile))
|
||||
goto skipcompile;
|
||||
else
|
||||
V_printf(" CC %s\n", file.GetString());
|
||||
|
||||
runner->Run(GetCompilerExecutable(pProject), args);
|
||||
skipcompile:
|
||||
|
||||
Reference in New Issue
Block a user