brought back functionality from previous builds but now cross-platform

This commit is contained in:
2025-07-07 15:34:34 +03:00
parent 99eafb9443
commit 83bc9b7f16
61 changed files with 1210 additions and 581 deletions

View File

@@ -1,3 +1,4 @@
#include "build/tools/public/target.h"
#include "target.h"
#include "tier1/utlstring.h"
#include "helper.h"
@@ -16,7 +17,7 @@ bool bStaticBuild = false;
extern "C" void Preinit()
{
if (Target_t::DefaultTarget().kernel == TARGET_KERNEL_IOS)
if (Target_t::DefaultTarget().kernel == TARGET_KERNEL_IOS || Target_t::DefaultTarget().kernel == TARGET_KERNEL_WINDOWS)
{
bStaticBuild = true;
}