MCPcopy Create free account
hub / github.com/Kitware/CMake / WriteCompileRule

Method WriteCompileRule

Source/cmNinjaTargetGenerator.cxx:647–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645}
646
647void 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
659std::string cmNinjaTargetGenerator::GetCompileTemplateVar(
660 std::string const& lang) const

Callers 2

WriteLanguageRulesMethod · 0.95

Calls 15

GetGeneratorTargetMethod · 0.95
GetMakefileMethod · 0.95
ForceResponseFileMethod · 0.95
GetLocalGeneratorMethod · 0.95
LanguageScanRuleMethod · 0.95
GetGlobalGeneratorMethod · 0.95
CompileWithDefinesMethod · 0.95
LanguageDyndepRuleMethod · 0.95

Tested by

no test coverage detected