now use fpc
This commit is contained in:
@@ -1,9 +1,28 @@
|
||||
#include "helper.h"
|
||||
#include "c.h"
|
||||
#include "ld.h"
|
||||
#include "tier1/utlstring.h"
|
||||
|
||||
CUtlVector<CUtlString> tier0_CompiledFiles = {
|
||||
"tier0/lib.cpp",
|
||||
"tier0/mem.cpp",
|
||||
"tier0/platform.cpp",
|
||||
};
|
||||
|
||||
int tier0_build()
|
||||
{
|
||||
CCProject compileProject = {};
|
||||
CLDProject ldProject = {};
|
||||
|
||||
compileProject.m_szName = "tier0";
|
||||
compileProject.files = tier0_CompiledFiles;
|
||||
compileProject.includeDirectories = all_IncludeDirectories;
|
||||
compileProject.bFPIC = true;
|
||||
ldProject = compileProject.Compile();
|
||||
ldProject.linkType = ELINK_DYNAMIC_LIBRARY;
|
||||
|
||||
CUtlString outputProject = ldProject.Link();
|
||||
|
||||
return 0;
|
||||
};
|
||||
DECLARE_BUILD_STAGE(tier0, tier0_build);
|
||||
|
||||
Reference in New Issue
Block a user