Started work on build system

This commit is contained in:
2025-05-31 00:42:18 +03:00
parent b83078553e
commit 953cca2aa4
16 changed files with 389 additions and 0 deletions

23
fpc/public/target.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef TARGET_T
#define TARGET_T
enum ETargetKernel
{
TARGET_KERNEL_LINUX,
TARGET_KERNEL_WINDOWS,
};
enum ETargetCPU
{
TARGET_CPU_AMD64,
TARGET_CPU_I386,
};
struct Target_t
{
ETargetKernel kernel;
ETargetCPU cpu;
static Target_t DefaultTarget();
};
#endif