Started work on build system
This commit is contained in:
23
fpc/public/target.h
Normal file
23
fpc/public/target.h
Normal 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
|
||||
Reference in New Issue
Block a user