now use fpc
This commit is contained in:
26
game/client/__build.cpp
Normal file
26
game/client/__build.cpp
Normal file
@@ -0,0 +1,26 @@
|
||||
#include "helper.h"
|
||||
#include "c.h"
|
||||
#include "ld.h"
|
||||
#include "tier1/utlstring.h"
|
||||
|
||||
CUtlVector<CUtlString> client_CompiledFiles = {
|
||||
"game/client/baseplayer.cpp",
|
||||
};
|
||||
|
||||
int client_build()
|
||||
{
|
||||
CCProject compileProject = {};
|
||||
CLDProject ldProject = {};
|
||||
|
||||
compileProject.m_szName = "client";
|
||||
compileProject.files = client_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(client, client_build);
|
||||
Reference in New Issue
Block a user