#include <Rule.h>
Inheritance diagram for makefile::Rule:

Public Member Functions | |
| Rule () | |
| virtual | ~Rule () |
| virtual string | toString () |
| A string representation of the MakefileItem. | |
| void | addTarget (const string &t) |
| Adds a target string. | |
| void | addTarget (Variable &t) |
| Adds a Variable as a Target. | |
| void | addTarget (Variable *t) |
| void | addPrereq (string p) |
| Adds a string as a prerequisite. | |
| void | addPrereq (Variable &p) |
| Adds a Variable as a prerequisite. | |
| void | addPrereq (Variable *p) |
| void | addPrereq (Rule &r) |
| Adds an other rule as a prerequisite for this rule. | |
| void | addPrereq (Rule *r) |
| void | addCommand (string c, bool doEcho=true, bool ignoreErrors=false) |
| Adds a string as a command to the Rule. | |
Private Attributes | |
| std::vector< string > | targets |
| std::vector< string > | prerequisites |
| std::vector< string > | commands |
Definition at line 41 of file Rule.h.
|
|
|
|
|
|
|
||||||||||||||||
|
Adds a string as a command to the Rule.
Definition at line 111 of file Rule.h. References makefile::string. Referenced by HuginBase::PanoramaMakefilelibExport::createcheckProgCmd(), createfiles_make(), HuginBase::PanoramaMakefilelibExport::createItems(), HuginBase::AssistantMakefilelibExport::createItems(), HuginBase::PanoramaMakefilelibExport::echoInfo(), HuginBase::AssistantMakefilelibExport::echoInfo(), main(), HuginBase::PanoramaMakefilelibExport::printSystemInfo(), makefile::tester::TestConditional::TestConditional(), makefile::tester::TestRule::TestRule(), makefile::tester::TestVariable::TestVariable(), trycond(), and tryrule(). |
|
|
|
|
|
Adds an other rule as a prerequisite for this rule.
Definition at line 96 of file Rule.h. References targets. |
|
|
Definition at line 91 of file Rule.h. References makefile::Variable::getRef(), and makefile::VariableRef::toString(). |
|
|
Adds a Variable as a prerequisite. A VariableRef is taken from the Variable and added.
Definition at line 87 of file Rule.h. References makefile::Variable::getRef(), and makefile::VariableRef::toString(). |
|
|
Adds a string as a prerequisite.
Definition at line 79 of file Rule.h. Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), HuginBase::AssistantMakefilelibExport::createItems(), main(), makefile::tester::TestRule::TestRule(), trycond(), and tryrule(). |
|
|
Definition at line 71 of file Rule.h. References makefile::Variable::getRef(), and makefile::VariableRef::toString(). |
|
|
Adds a Variable as a Target. A VariableRef is taken from the Variable and added.
Definition at line 67 of file Rule.h. References makefile::Variable::getRef(), and makefile::VariableRef::toString(). |
|
|
Adds a target string.
Definition at line 59 of file Rule.h. Referenced by createfiles_make(), HuginBase::PanoramaMakefilelibExport::createItems(), HuginBase::AssistantMakefilelibExport::createItems(), main(), makefile::tester::TestConditional::TestConditional(), makefile::tester::TestRule::TestRule(), makefile::tester::TestVariable::TestVariable(), trycond(), and tryrule(). |
|
|
A string representation of the MakefileItem.
Implements makefile::MakefileItem. Definition at line 29 of file Rule.cpp. References commands, cstr, prerequisites, makefile::string, and targets. Referenced by tryrule(). |
|
|
Definition at line 45 of file Rule.h. Referenced by toString(). |
|
|
Definition at line 44 of file Rule.h. Referenced by toString(). |
|
|
Definition at line 43 of file Rule.h. Referenced by addPrereq(), and toString(). |
1.3.9.1