made it work with new fpc

This commit is contained in:
2026-02-01 17:47:49 +02:00
parent fe1273e539
commit faae0bdcc7
199 changed files with 355 additions and 14541 deletions

20
launcher/build.cpp Normal file
View File

@@ -0,0 +1,20 @@
#include "target.h"
#include "helper.h"
#include "c.h"
#include "ld.h"
#include "tier1/utlstring.h"
DECLARE_BUILD_STAGE(launcher)
{
CProject_t compileProject = {};
LinkProject_t ldProject = {};
compileProject.m_szName = "launcher";
compileProject.files = {"launcher.cpp"};
ldProject = ccompiler->Compile(&compileProject);
ldProject.linkType = ELINK_EXECUTABLE;
CUtlString outputProject = linker->Link(&ldProject);
ADD_OUTPUT_OBJECT("launcher", outputProject);
return 0;
};