|
cbp2make
Makefile generation tool for Code::Blocks IDE
|
Makefile rule definition. More...
#include <makefile.h>
Public Member Functions | |
| CString & | Target (void) |
| Name of a makefile target. More... | |
| CStringList & | Dependencies (void) |
| A list of dependencies (prerequirements) for the target. More... | |
| CStringList & | Commands (void) |
| A list of commands to be executed to build the target. More... | |
| bool & | Multiline (void) |
| Allows line-wrapping of the list of dependencies. More... | |
| CString | JoinDependencies (void) |
| Returns dependencies as a single string. More... | |
| void | Clear (void) |
| Resets the makefile rule to the initial state. More... | |
| void | Show (void) |
| Prints the makefile rule properties to the standard output. More... | |
| CMakefileRule (void) | |
| Creates makefile rule. More... | |
| ~CMakefileRule (void) | |
| Destroys makefile rule. More... | |
Private Attributes | |
| CString | m_Target |
| Name of a makefile target. More... | |
| CStringList | m_Dependencies |
| A list of dependencies (prerequirements) for the target. More... | |
| CStringList | m_Commands |
| A list of commands to be executed to build the target. More... | |
| bool | m_Multiline |
| Allows line-wrapping of the list of dependencies. More... | |
Makefile rule definition.
Manages makefile rule properties and generates its text representation.
| CMakefileRule::CMakefileRule | ( | void | ) |
Creates makefile rule.
| CMakefileRule::~CMakefileRule | ( | void | ) |
Destroys makefile rule.
| void CMakefileRule::Clear | ( | void | ) |
Resets the makefile rule to the initial state.
|
inline |
A list of commands to be executed to build the target.
|
inline |
A list of dependencies (prerequirements) for the target.
| CString CMakefileRule::JoinDependencies | ( | void | ) |
Returns dependencies as a single string.
Strings of CMakefileRule::m_Dependencies are joined with space character if multiline mode is disabled or with ' \\\n\t' (space backslash eol tab) sequence otherwise.
|
inline |
Allows line-wrapping of the list of dependencies.
| void CMakefileRule::Show | ( | void | ) |
Prints the makefile rule properties to the standard output.
|
inline |
Name of a makefile target.
|
private |
A list of commands to be executed to build the target.
|
private |
A list of dependencies (prerequirements) for the target.
Dependencies should be names of other makefile targets or file names.
|
private |
Allows line-wrapping of the list of dependencies.
|
private |
Name of a makefile target.
1.8.4