no engine anymore
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef C_H
|
||||
#define C_H
|
||||
|
||||
#include "tier0/platform.h"
|
||||
#include "tier1/utlstring.h"
|
||||
#include "tier1/utlvector.h"
|
||||
#include "runner.h"
|
||||
@@ -35,20 +36,35 @@ enum ECPPVersion
|
||||
CPPVERSION_2C = 6,
|
||||
};
|
||||
|
||||
class CCProject : public CProject
|
||||
struct CProject_t : public CPUProject_t
|
||||
{
|
||||
public:
|
||||
CUtlVector<CUtlString> files = {};
|
||||
CUtlVector<C_Macro_t> macros = {};
|
||||
CUtlVector<CUtlString> includeDirectories = {};
|
||||
CUtlVector<CUtlString> includeFiles = {};
|
||||
CUtlVector<C_Macro_t> macros = {};
|
||||
|
||||
bool bFPIE = false;
|
||||
bool bFPIC = false;
|
||||
bool bDebug = m_target.optimization == TARGET_DEBUG;
|
||||
|
||||
ECVersion cVersion;
|
||||
ECPPVersion cppVersion;
|
||||
CLDProject Compile();
|
||||
static void GenerateCompileCommands();
|
||||
|
||||
AndroidManifest_t m_androidmanifest;
|
||||
};
|
||||
|
||||
#define C_COMPILER_INTERFACE_NAME "CCompiler001"
|
||||
#define CLANG_C_COMPILER_INTERFACE_NAME "ClangCCompiler001"
|
||||
#define GCC_C_COMPILER_INTERFACE_NAME "GCCCCompiler001"
|
||||
#define MSVC_C_COMPILER_INTERFACE_NAME "MSVCCCompiler001"
|
||||
|
||||
abstract_class ICCompiler
|
||||
{
|
||||
public:
|
||||
virtual LinkProject_t Compile( CProject_t *pProject ) = 0;
|
||||
virtual void GenerateLinterData( void ) = 0;
|
||||
};
|
||||
|
||||
extern ICCompiler *ccompiler;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user