cbp2make
Makefile generation tool for Code::Blocks IDE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CBuildTool Class Reference

#include <buildtools.h>

Inheritance diagram for CBuildTool:
CBuildManager CCompiler CDependencyGenerator CLinker CPreprocessor CMSVCBuildManager CAssembler CBorlandCppCompiler CGNUARMCCompiler CGNUARMCppCompiler CGNUAVRCCompiler CGNUAVRCppCompiler CGNUCCompiler CGNUCppCompiler CGNUFortran77Compiler CGNUFortran90Compiler CIntelCCompiler CIntelCppCompiler CMSVCCompiler CMSVCppCompiler CResourceCompiler CGNUAVRDependencyGenerator CExecutableLinker CLibraryLinker

Public Types

enum  ToolType {
  btOther, btPreprocessor, btAssembler, btCompiler,
  btResourceCompiler, btStaticLinker, btDynamicLinker, btExecutableLinker,
  btNativeLinker, btDependencyGenerator, btBuildManager, btCount
}
 

Public Member Functions

CBuildTool::ToolType Type (void) const
 
CString TypeName (void) const
 
CStringAlias (void)
 
CStringDescription (void)
 
CStringProgram (void)
 
CStringMakeVariable (void)
 
CStringCommandTemplate (void)
 
CStringListSourceExtensions (void)
 
CStringTargetExtension (void)
 
bool & NeedQuotedPath (void)
 
bool & NeedFullPath (void)
 
bool & NeedUnixPath (void)
 
CString MakeCommand (const CString &CommandTemplate, CConfiguration &Arguments)
 
CString MakeCommand (CConfiguration &Arguments)
 
virtual bool ExpectedSourceExtension (const CString &FileExtension)
 
virtual CBuildToolCreateInstance (void)
 
virtual void Clear (void)
 
virtual void Reset (const CPlatform::OS_Type OS)
 
virtual bool Supports (const CPlatform::OS_Type OS)
 
virtual void Read (const TiXmlElement *BuildToolRoot)
 
virtual void Write (TiXmlElement *BuildToolRoot)
 
virtual void Show (void)
 
 CBuildTool (void)
 
 CBuildTool (const CBuildTool &BuildTool)
 
virtual ~CBuildTool (void)
 

Static Public Member Functions

static ToolType Type (const CString &Name)
 
static CString TypeName (const ToolType Type)
 
static CString AbbrevTypeName (const ToolType Type)
 

Protected Member Functions

void Read (const TiXmlElement *Root, const CString &Name, CString &Value)
 
void Read (const TiXmlElement *Root, const CString &Name, bool &Value)
 
void Write (TiXmlElement *Root, const CString &Name, const CString &Value)
 
void Write (TiXmlElement *Root, const CString &Name, const bool Value)
 

Protected Attributes

CPlatform::OS_Type m_Platform
 
CBuildTool::ToolType m_Type
 
CString m_Alias
 
CString m_Description
 
CString m_Program
 
CString m_MakeVariable
 
CString m_CommandTemplate
 
CStringList m_SourceExtensions
 
CString m_TargetExtension
 
CString m_GenericSwitch
 
bool m_NeedQuotedPath
 
bool m_NeedFullPath
 
bool m_NeedUnixPath
 

Member Enumeration Documentation

Enumerator
btOther 
btPreprocessor 
btAssembler 
btCompiler 
btResourceCompiler 
btStaticLinker 
btDynamicLinker 
btExecutableLinker 
btNativeLinker 
btDependencyGenerator 
btBuildManager 
btCount 

Constructor & Destructor Documentation

CBuildTool::CBuildTool ( void  )
CBuildTool::CBuildTool ( const CBuildTool BuildTool)
CBuildTool::~CBuildTool ( void  )
virtual

Member Function Documentation

CString CBuildTool::AbbrevTypeName ( const ToolType  Type)
static
CString& CBuildTool::Alias ( void  )
inline
void CBuildTool::Clear ( void  )
virtual
CString& CBuildTool::CommandTemplate ( void  )
inline
CBuildTool * CBuildTool::CreateInstance ( void  )
virtual
CString& CBuildTool::Description ( void  )
inline
bool CBuildTool::ExpectedSourceExtension ( const CString FileExtension)
virtual
CString CBuildTool::MakeCommand ( const CString CommandTemplate,
CConfiguration Arguments 
)
CString CBuildTool::MakeCommand ( CConfiguration Arguments)
CString& CBuildTool::MakeVariable ( void  )
inline
bool& CBuildTool::NeedFullPath ( void  )
inline
bool& CBuildTool::NeedQuotedPath ( void  )
inline
bool& CBuildTool::NeedUnixPath ( void  )
inline
CString& CBuildTool::Program ( void  )
inline
void CBuildTool::Read ( const TiXmlElement *  Root,
const CString Name,
CString Value 
)
protected
void CBuildTool::Read ( const TiXmlElement *  Root,
const CString Name,
bool &  Value 
)
protected
void CBuildTool::Read ( const TiXmlElement *  BuildToolRoot)
virtual
void CBuildTool::Reset ( const CPlatform::OS_Type  OS)
virtual
void CBuildTool::Show ( void  )
virtual
CStringList& CBuildTool::SourceExtensions ( void  )
inline
bool CBuildTool::Supports ( const CPlatform::OS_Type  OS)
virtual
CString& CBuildTool::TargetExtension ( void  )
inline
CBuildTool::ToolType CBuildTool::Type ( const CString Name)
static
CBuildTool::ToolType CBuildTool::Type ( void  ) const
inline
CString CBuildTool::TypeName ( const ToolType  Type)
static
CString CBuildTool::TypeName ( void  ) const
void CBuildTool::Write ( TiXmlElement *  Root,
const CString Name,
const CString Value 
)
protected
void CBuildTool::Write ( TiXmlElement *  Root,
const CString Name,
const bool  Value 
)
protected
void CBuildTool::Write ( TiXmlElement *  BuildToolRoot)
virtual

Member Data Documentation

CString CBuildTool::m_Alias
protected
CString CBuildTool::m_CommandTemplate
protected
CString CBuildTool::m_Description
protected
CString CBuildTool::m_GenericSwitch
protected
CString CBuildTool::m_MakeVariable
protected
bool CBuildTool::m_NeedFullPath
protected
bool CBuildTool::m_NeedQuotedPath
protected
bool CBuildTool::m_NeedUnixPath
protected
CPlatform::OS_Type CBuildTool::m_Platform
protected
CString CBuildTool::m_Program
protected
CStringList CBuildTool::m_SourceExtensions
protected
CString CBuildTool::m_TargetExtension
protected
CBuildTool::ToolType CBuildTool::m_Type
protected

The documentation for this class was generated from the following files: