improvements
This commit is contained in:
@@ -56,13 +56,14 @@ LinkProject_t ICCompiler::Compile( CProject_t *pProject )
|
||||
// Run CC
|
||||
for (auto &file: pProject->files)
|
||||
{
|
||||
V_printf(" CC %s\n", file.GetString());
|
||||
CUtlString szOutputFile = GetOutputObjectName(pProject, hash, file);
|
||||
CUtlVector<CUtlString> args;
|
||||
|
||||
args = BuildCommandLine(pProject, file, szOutputFile);
|
||||
if (!filesystem2->ShouldRecompile(file, szOutputFile))
|
||||
goto skipcompile;
|
||||
else
|
||||
V_printf(" CC %s\n", file.GetString());
|
||||
runner->Run(GetCompilerExecutable(pProject), args);
|
||||
skipcompile:
|
||||
proj.objects.AppendTail((Object_t){szOutputFile});
|
||||
|
||||
Reference in New Issue
Block a user