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

Method GetTllSignatureTraces

Source/cmTarget.cxx:1494–1507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1492}
1493
1494void cmTarget::GetTllSignatureTraces(std::ostream& s, TLLSignature sig) const
1495{
1496 char const* sigString =
1497 (sig == cmTarget::KeywordTLLSignature ? "keyword" : "plain");
1498 s << "The uses of the " << sigString << " signature are here:\n";
1499 for (auto const& cmd : this->impl->TLLCommands) {
1500 if (cmd.first == sig) {
1501 cmListFileContext lfc = cmd.second;
1502 lfc.FilePath = cmSystemTools::RelativeIfUnder(
1503 this->impl->Makefile->GetState()->GetSourceDirectory(), lfc.FilePath);
1504 s << " * " << lfc << '\n';
1505 }
1506 }
1507}
1508
1509std::string const& cmTarget::GetInstallPath() const
1510{

Callers 1

HandleLibraryMethod · 0.80

Calls 2

RelativeIfUnderFunction · 0.85
GetStateMethod · 0.45

Tested by

no test coverage detected