Menu

[r1967]: / trunk / src / sdk / msvcloader.h  Maximize  Restore  History

Download this file

45 lines (37 with data), 1.2 kB

 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
#ifndef MSVCLOADER_H
#define MSVCLOADER_H
#include "ibaseloader.h"
#include <wx/dynarray.h>
#include <wx/filename.h>
#include <wx/hashmap.h>
#include "compiletargetbase.h" // for target type
// forward decls
class cbProject;
class ProjectBuildTarget;
class MSVCLoader : public IBaseLoader
{
public:
MSVCLoader(cbProject* project);
virtual ~MSVCLoader();
bool Open(const wxString& filename);
bool Save(const wxString& filename);
protected:
bool ReadConfigurations();
bool ParseConfiguration(int index);
bool ParseSourceFiles();
void ProcessCompilerOptions(ProjectBuildTarget* target, const wxString& opts);
void ProcessLinkerOptions(ProjectBuildTarget* target, const wxString& opts);
wxString RemoveQuotes(const wxString& src);
cbProject* m_pProject;
bool m_ConvertSwitches;
wxArrayString m_Configurations;
wxArrayInt m_ConfigurationsLineIndex;
wxFileName m_Filename;
TargetType m_Type;
WX_DECLARE_STRING_HASH_MAP(TargetType, HashTargetType);
HashTargetType m_TargType;
HashTargetType m_TargetBasedOn;
int m_BeginTargetLine;
private:
};
#endif // MSVCLOADER_H