cbp2make
Makefile generation tool for Code::Blocks IDE
|
Toolchain description. More...
#include <toolchains.h>
Public Member Functions | |
CPlatform::OS_Type | OS (void) const |
Platform (operating system) to which this toolchain belongs. More... | |
CString | Alias (void) const |
Name (alias) of the toolchain. More... | |
CString & | GenericSwitch (void) |
CString & | DefineSwitch (void) |
CString & | IncludeDirSwitch (void) |
CString & | LibraryDirSwitch (void) |
CString & | LinkLibrarySwitch (void) |
CString | sw (void) const |
CString | sw (const CString &ASwitch) const |
CBuildTool * | CreateBuildTool (const CBuildTool::ToolType Type=CBuildTool::btOther) |
virtual void | Assign (const CToolChain &ToolChain) |
virtual CToolChain * | CreateInstance (void) const |
virtual void | Clear (void) |
Resets the toolchain to the initial state. More... | |
virtual void | Reset (const CPlatform::OS_Type OS) |
virtual bool | Supports (const CPlatform::OS_Type OS) const |
virtual void | Read (const TiXmlElement *ToolChainRoot) |
Reads the toolchain settings from an XML document. More... | |
virtual void | Write (TiXmlElement *ToolChainRoot) |
Writes the toolchain settings to an XML document. More... | |
virtual void | Show (void) |
Prints the toolchain contents to standard output.. More... | |
size_t | ToolsCount (const CBuildTool::ToolType Type=CBuildTool::btOther) |
CBuildTool * | GetBuildTool (const size_t index, const CBuildTool::ToolType Type=CBuildTool::btOther) |
CBuildTool * | FindBuildToolByName (const CString &ToolName) |
CBuildTool * | FindBuildTool (const CString &FileExtension) |
CAssembler * | FindAssembler (const CString &FileExtension) |
CCompiler * | FindCompiler (const CString &FileExtension) |
bool | RemoveToolByName (const CString &ToolName) |
CToolChain (const CString &Alias) | |
CToolChain (const CToolChain &ToolChain) | |
virtual | ~CToolChain (void) |
Destroys toolchain. More... | |
Protected Member Functions | |
void | GatherBuildTools (std::vector< CBuildTool *> &Source, std::vector< CBuildTool *> &Target) |
void | GatherBuildTools (void) |
CBuildTool * | FindBuildTool (const CString &FileExtension, const std::vector< CBuildTool *> &Tools) |
std::vector< CBuildTool * > & | GetTools (const CBuildTool::ToolType Type=CBuildTool::btOther) |
void | RemoveTool (const CBuildTool *BuildTool, std::vector< CBuildTool *> &Tools) |
void | RemoveTool (const CBuildTool *BuildTool) |
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 | |
CString | m_GenericSwitch |
CString | m_DefineSwitch |
CString | m_IncludeDirSwitch |
CString | m_LibraryDirSwitch |
CString | m_LinkLibrarySwitch |
std::vector< CBuildTool * > | m_BuildTools |
std::vector< CPreprocessor * > | m_Preprocessors |
std::vector< CAssembler * > | m_Assemblers |
std::vector< CCompiler * > | m_Compilers |
std::vector< CResourceCompiler * > | m_ResourceCompilers |
std::vector< CStaticLinker * > | m_StaticLinkers |
std::vector< CDynamicLinker * > | m_DynamicLinkers |
std::vector< CExecutableLinker * > | m_ExecutableLinkers |
Private Attributes | |
CPlatform::OS_Type | m_Platform |
CString | m_Alias |
Name (alias) of the toolchain. More... | |
Toolchain description.
Contains properties of a toolchain (a set of build tools).
|
explicit |
CToolChain::CToolChain | ( | const CToolChain & | ToolChain | ) |
|
virtual |
Destroys toolchain.
|
inline |
Name (alias) of the toolchain.
|
virtual |
|
virtual |
Resets the toolchain to the initial state.
CBuildTool * CToolChain::CreateBuildTool | ( | const CBuildTool::ToolType | Type = CBuildTool::btOther | ) |
|
virtual |
Reimplemented in CMSVCToolChain, CIntelToolChain, CBorlandToolChain, and CGNUToolChain.
|
inline |
CAssembler * CToolChain::FindAssembler | ( | const CString & | FileExtension | ) |
|
protected |
CBuildTool * CToolChain::FindBuildTool | ( | const CString & | FileExtension | ) |
CBuildTool * CToolChain::FindBuildToolByName | ( | const CString & | ToolName | ) |
|
protected |
|
protected |
|
inline |
CBuildTool * CToolChain::GetBuildTool | ( | const size_t | index, |
const CBuildTool::ToolType | Type = CBuildTool::btOther |
||
) |
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
Platform (operating system) to which this toolchain belongs.
|
protected |
|
protected |
|
virtual |
Reads the toolchain settings from an XML document.
ToolChainRoot | an element of XML document. |
|
protected |
|
protected |
bool CToolChain::RemoveToolByName | ( | const CString & | ToolName | ) |
|
virtual |
Reimplemented in CMSVCToolChain, CIntelToolChain, CBorlandToolChain, and CGNUToolChain.
|
virtual |
Prints the toolchain contents to standard output..
|
virtual |
Reimplemented in CMSVCToolChain.
|
inline |
size_t CToolChain::ToolsCount | ( | const CBuildTool::ToolType | Type = CBuildTool::btOther | ) |
|
protected |
|
protected |
|
virtual |
Writes the toolchain settings to an XML document.
ToolChainRoot | an element of XML document. |
|
private |
Name (alias) of the toolchain.
Alias identifies the toolchain and primarily used for toolchain lookup.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
protected |
|
protected |
|
protected |