| 645 | } |
| 646 | |
| 647 | void cmNinjaTargetGenerator::WriteCompileRule(std::string const& lang, |
| 648 | std::string const& config) |
| 649 | { |
| 650 | // For some cases we scan to dynamically discover dependencies. |
| 651 | bool const needDyndep = this->GetGeneratorTarget()->NeedDyndep(lang, config); |
| 652 | |
| 653 | if (needDyndep) { |
| 654 | this->WriteCompileRule(lang, config, WithScanning::Yes); |
| 655 | } |
| 656 | this->WriteCompileRule(lang, config, WithScanning::No); |
| 657 | } |
| 658 | |
| 659 | std::string cmNinjaTargetGenerator::GetCompileTemplateVar( |
| 660 | std::string const& lang) const |
no test coverage detected