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

Method GetScriptWorkingDir

Source/cmFastbuildTargetGenerator.cxx:184–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184std::string cmFastbuildTargetGenerator::GetScriptWorkingDir(
185 cmCustomCommandGenerator const& ccg) const
186{
187 std::string workingDirectory = ccg.GetWorkingDirectory();
188 if (workingDirectory.empty()) {
189 return this->LocalCommonGenerator->GetCurrentBinaryDirectory();
190 }
191 return workingDirectory;
192}
193
194std::string cmFastbuildTargetGenerator::GetScriptFilename(
195 std::string const& utilityTargetName) const

Callers

nothing calls this directly

Calls 2

GetWorkingDirectoryMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected