blob: 6f81e5600d027add3d4860ae4edf15959f8145b3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
//====== Copyright © 1996-2005, Valve Corporation, All rights reserved. =======
//
// Purpose:
//
//=============================================================================
#ifndef PROJECTGENERATOR_CODELITE_H
#define PROJECTGENERATOR_CODELITE_H
#ifdef _WIN32
#pragma once
#endif
#include "baseprojectdatacollector.h"
class CProjectGenerator_CodeLite
{
public:
void GenerateCodeLiteProject( CBaseProjectDataCollector *pCollector, const char *pOutFilename, const char *pMakefileFilename );
private:
void Write( const char *pMsg, ... );
void WriteHeader();
void WriteFileReferences();
void WriteProject( const char *pchMakefileName );
void WriteBuildFiles();
void WriteBuildConfigurations();
void WriteLegacyTargets( const char *pchMakefileName );
void WriteTrailer();
void WriteConfig( CSpecificConfig *pConfig );
void WriteTarget_Build( CSpecificConfig *pConfig );
void WriteTarget_Compile( CSpecificConfig *pConfig );
void WriteTarget_Rebuild( CSpecificConfig *pConfig );
void WriteTarget_Link( CSpecificConfig *pConfig );
void WriteTarget_Debug( CSpecificConfig *pConfig );
void WriteIncludes( CSpecificConfig *pConfig );
void WriteFilesFolder( const char *pFolderName, const char *pExtensions );
void WriteFiles();
private:
CBaseProjectDataCollector *m_pCollector;
FILE *m_fp;
const char *m_pMakefileFilename;
int m_nIndent;
};
#endif // PROJECTGENERATOR_CODELITE_H
|