no engine anymore
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "tier1/commandline.h"
|
||||
|
||||
CUtlVector<CUtlString> tier1_CompiledFiles = {
|
||||
"tier1/interface.cpp",
|
||||
"tier1/commandline.cpp",
|
||||
"tier1/utlbuffer.cpp",
|
||||
"tier1/utlmap.cpp",
|
||||
@@ -13,21 +14,20 @@ CUtlVector<CUtlString> tier1_CompiledFiles = {
|
||||
};
|
||||
CUtlString tier1_lib;
|
||||
|
||||
int tier1_build()
|
||||
DECLARE_BUILD_STAGE(tier1)
|
||||
{
|
||||
CCProject compileProject = {};
|
||||
CLDProject ldProject = {};
|
||||
CProject_t compileProject = {};
|
||||
LinkProject_t ldProject = {};
|
||||
|
||||
compileProject.m_szName = "tier1";
|
||||
compileProject.files = tier1_CompiledFiles;
|
||||
compileProject.includeDirectories = all_IncludeDirectories;
|
||||
compileProject.bFPIC = true;
|
||||
ldProject = compileProject.Compile();
|
||||
ldProject = ccompiler->Compile(&compileProject);
|
||||
ldProject.linkType = ELINK_STATIC_LIBRARY;
|
||||
|
||||
CUtlString outputProject = ldProject.Link();
|
||||
CUtlString outputProject = linker->Link(&ldProject);
|
||||
tier1_lib = outputProject;
|
||||
|
||||
return 0;
|
||||
};
|
||||
DECLARE_BUILD_STAGE(tier1, tier1_build);
|
||||
|
||||
Reference in New Issue
Block a user