introduces ios support? still needs metal

This commit is contained in:
2025-06-29 01:21:55 +03:00
parent af4f0c3cad
commit cdeaac7c0c
79 changed files with 2176 additions and 1349 deletions

View File

@@ -1,17 +1,21 @@
#ifndef TARGET_T
#define TARGET_T
#include "tier1/utlstring.h"
enum ETargetKernel
{
TARGET_KERNEL_LINUX,
TARGET_KERNEL_WINDOWS,
TARGET_KERNEL_DARWIN,
TARGET_KERNEL_IOS,
};
enum ETargetCPU
{
TARGET_CPU_AMD64,
TARGET_CPU_I386,
TARGET_CPU_AARCH64,
};
enum ETargetOptimization
@@ -26,6 +30,8 @@ struct Target_t
ETargetKernel kernel;
ETargetCPU cpu;
ETargetOptimization optimization;
CUtlString GetTriplet();
static Target_t HostTarget();
static Target_t DefaultTarget();
};