|
cbp2make
Makefile generation tool for Code::Blocks IDE
|
Build unit description. More...
#include <cbpunit.h>
Public Member Functions | |
| CString | FileName (void) const |
| CString | Extension (void) const |
| bool | BelongToTarget (const CString &TargetName) |
| CString | CompilerVariable (void) const |
| bool | DoCompile (void) const |
| bool | DoLink (void) const |
| int | Weight (void) const |
| void | Clear (void) |
| Resets the build unit to the initial state. More... | |
| void | Read (const TiXmlElement *UnitRoot) |
| Reads the build unit settings from an XML document. More... | |
| void | Show (void) |
| Prints the build unit contents to standard output. More... | |
| CBuildUnit (void) | |
| Creates build unit. More... | |
| ~CBuildUnit (void) | |
| Destroys build unit. More... | |
Private Attributes | |
| CString | m_FileName |
| File name of the build unit. More... | |
| CStringList | m_Targets |
| List of build target names to which this build unit belong. More... | |
| CString | m_CompilerVariable |
| bool | m_DoCompile |
| Allows compilation of the build unit. More... | |
| bool | m_DoLink |
| Allows linking of the build unit. More... | |
| int | m_Weight |
| Weight (priority) of the build unit. More... | |
| CString | m_ObjectFileName |
| File name of the object file (a result of compilation) of this build unit. More... | |
Friends | |
| class | CUnitWeightComparison |
Build unit description.
Contains properties of a build unit.
| CBuildUnit::CBuildUnit | ( | void | ) |
Creates build unit.
| CBuildUnit::~CBuildUnit | ( | void | ) |
Destroys build unit.
| bool CBuildUnit::BelongToTarget | ( | const CString & | TargetName) |
| CBuildUnit::Clear | ( | void | ) |
Resets the build unit to the initial state.
|
inline |
|
inline |
|
inline |
| CString CBuildUnit::Extension | ( | void | ) | const |
|
inline |
| CBuildUnit::Read | ( | const TiXmlElement * | UnitRoot) |
Reads the build unit settings from an XML document.
| UnitRoot | an element of an XML document. |
| CBuildUnit::Show | ( | void | ) |
Prints the build unit contents to standard output.
|
inline |
|
friend |
|
private |
|
private |
Allows compilation of the build unit.
|
private |
Allows linking of the build unit.
|
private |
File name of the build unit.
|
private |
File name of the object file (a result of compilation) of this build unit.
|
private |
List of build target names to which this build unit belong.
|
private |
Weight (priority) of the build unit.
Normally build unit weights range from 0 to 100. Lower weight means higher priority and vice versa. Build units with lower weights are compiled and linked first.
1.8.4