Remake
|
Functions | |
static void | merge_rule (rule_t &dest, rule_t const &src) |
static void | substitute_pattern (std::string const &pat, string_list const &src, string_list &dst) |
static void | instantiate_rule (std::string const &target, rule_t const &src, rule_t &dst) |
static void | find_generic_rule (job_t &job, std::string const &target) |
static void | find_rule (job_t &job, std::string const &target) |
Find a generic rule matching target:
Definition at line 1918 of file remake.cpp.
Referenced by find_rule().
Find a specific rule matching target. Return a generic one otherwise. If there is both a specific rule with an empty script and a generic rule, the generic one is returned after adding the dependencies of the specific one.
Definition at line 1932 of file remake.cpp.
Referenced by start().
|
static |
Instantiate a specific rule, given a target and a generic rule. If the rule dst already contains a stem longer than the one found, it is left unchanged.
Definition at line 1887 of file remake.cpp.
Referenced by find_generic_rule(), and load_rule().
Definition at line 1848 of file remake.cpp.
Referenced by find_rule(), and register_transparent_rule().
|
static |
Substitute a pattern into a list of strings.
Definition at line 1871 of file remake.cpp.
Referenced by instantiate_rule().