32 lines
566 B
C++
32 lines
566 B
C++
#ifndef C_H
|
|
#define C_H
|
|
|
|
#include "tier1/utlstring.h"
|
|
#include "tier1/utlvector.h"
|
|
#include "runner.h"
|
|
#include "ld.h"
|
|
#include "target.h"
|
|
#include "helper.h"
|
|
|
|
struct C_Macro_t
|
|
{
|
|
CUtlString szName;
|
|
CUtlString szValue;
|
|
};
|
|
|
|
class CCProject : public CProject
|
|
{
|
|
public:
|
|
CUtlVector<CUtlString> files;
|
|
CUtlVector<C_Macro_t> macros;
|
|
CUtlVector<CUtlString> includeDirectories;
|
|
CUtlVector<CUtlString> includeFiles;
|
|
bool bFPIE;
|
|
bool bFPIC;
|
|
bool bDebug = m_target.optimization == TARGET_DEBUG;
|
|
CLDProject Compile();
|
|
static void GenerateCompileCommands();
|
|
};
|
|
|
|
#endif
|