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

Method GenerateRuleFile

Source/cmGlobalGenerator.cxx:3541–3550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3539}
3540
3541std::string cmGlobalGenerator::GenerateRuleFile(
3542 std::string const& output) const
3543{
3544 std::string ruleFile = cmStrCat(output, ".rule");
3545 char const* dir = this->GetCMakeCFGIntDir();
3546 if (dir && dir[0] == '$') {
3547 cmSystemTools::ReplaceString(ruleFile, dir, "/CMakeFiles");
3548 }
3549 return ruleFile;
3550}
3551
3552bool cmGlobalGenerator::ShouldStripResourcePath(cmMakefile* mf) const
3553{

Callers 1

AddCustomCommandFunction · 0.45

Calls 2

GetCMakeCFGIntDirMethod · 0.95
cmStrCatFunction · 0.70

Tested by

no test coverage detected