31 lines
690 B
C++
31 lines
690 B
C++
#include "helper.h"
|
|
#include "c.h"
|
|
#include "ld.h"
|
|
#include "tier1/utlstring.h"
|
|
|
|
CUtlVector<CUtlString> tier1_CompiledFiles = {
|
|
"tier1/commandline.cpp",
|
|
"tier1/utlbuffer.cpp",
|
|
"tier1/utlmap.cpp",
|
|
"tier1/utlstring.cpp",
|
|
"tier1/utlvector.cpp",
|
|
};
|
|
|
|
int tier1_build()
|
|
{
|
|
CCProject compileProject = {};
|
|
CLDProject ldProject = {};
|
|
|
|
compileProject.m_szName = "tier1";
|
|
compileProject.files = tier1_CompiledFiles;
|
|
compileProject.includeDirectories = all_IncludeDirectories;
|
|
compileProject.bFPIC = true;
|
|
ldProject = compileProject.Compile();
|
|
ldProject.linkType = ELINK_STATIC_LIBRARY;
|
|
|
|
CUtlString outputProject = ldProject.Link();
|
|
|
|
return 0;
|
|
};
|
|
DECLARE_BUILD_STAGE(tier1, tier1_build);
|