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

Method GetObjectOutputRoot

Source/cmLocalNinjaGenerator.cxx:167–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167std::string cmLocalNinjaGenerator::GetObjectOutputRoot(
168 cmStateEnums::IntermediateDirKind kind) const
169{
170 if (this->UseShortObjectNames(kind)) {
171 return cmStrCat(this->GetBinaryDirectory(), '/',
172 this->GetGlobalGenerator()->GetShortBinaryOutputDir());
173 }
174 return cmStrCat(this->GetCurrentBinaryDirectory(), "/CMakeFiles");
175}
176
177// Non-virtual public methods.
178

Callers 1

GenerateMethod · 0.95

Calls 4

cmStrCatFunction · 0.70
UseShortObjectNamesMethod · 0.45
GetGlobalGeneratorMethod · 0.45

Tested by

no test coverage detected