This commit is contained in:
2025-06-04 00:18:32 +03:00
parent 804711f2c4
commit 5d85ebd85f
17 changed files with 108 additions and 7 deletions

View File

@@ -2,6 +2,7 @@
#include "c.h"
#include "ld.h"
#include "tier1/utlstring.h"
#include "tier1/commandline.h"
CUtlVector<CUtlString> client_CompiledFiles = {
"game/client/baseplayer.cpp",
@@ -20,6 +21,11 @@ int client_build()
ldProject.linkType = ELINK_DYNAMIC_LIBRARY;
CUtlString outputProject = ldProject.Link();
const char *szGameName = ICommandLine::ParamValue("-game");
if (szGameName == NULL)
szGameName = "funnygame";
IFileSystem2::CopyFile(CUtlString("build/%s/game/%s/bin",szGameName,szGameName), outputProject);
return 0;
};