some work on fpc
This commit is contained in:
@@ -7,7 +7,16 @@ ICCompiler *ccompiler;
|
||||
CUtlString ICCompiler::GetOutputObjectName( CProject_t *pProject, unsigned int hash, CUtlString szFileName )
|
||||
{
|
||||
CUtlString szTarget = pProject->m_target.GetTriplet();
|
||||
return CUtlString("%s/%s/cc/%u_%s/%s/%s%s",FPC_TEMPORAL_DIRNAME, szTarget.GetString(), hash, pProject->m_szName.GetString(), filesystem2->BuildDirectory(), szFileName.GetString(), GetOutputObjectFormat());
|
||||
|
||||
return CUtlString(
|
||||
"%s/%s/cc/%u_%s/%s/%s%s",
|
||||
FPC_TEMPORAL_DIRNAME,
|
||||
szTarget.GetString(),
|
||||
hash,
|
||||
pProject->m_szName.GetString(),
|
||||
filesystem2->BuildDirectory(),
|
||||
szFileName.GetString(),
|
||||
GetOutputObjectFormat());
|
||||
};
|
||||
|
||||
CUtlVector<CUtlString> ICCompiler::BuildCommandLine( CProject_t *pProject, const char *szFileName, const char *szOutputFileName )
|
||||
@@ -44,6 +53,7 @@ LinkProject_t ICCompiler::Compile( CProject_t *pProject )
|
||||
proj.m_androidmanifest = pProject->m_androidmanifest;
|
||||
unsigned int hash = pProject->GenerateProjectHash();
|
||||
|
||||
|
||||
// Get output directories
|
||||
for (auto &file: pProject->files)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user