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

Method PrintHelpOneProperty

Source/cmDocumentation.cxx:653–664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

651}
652
653bool cmDocumentation::PrintHelpOneProperty(std::ostream& os)
654{
655 std::string pname = cmSystemTools::HelpFileName(this->CurrentArgument);
656 if (this->PrintFiles(os, cmStrCat("prop_*/", pname))) {
657 return true;
658 }
659 // Argument was not a property. Complain.
660 os << "Argument \"" << this->CurrentArgument
661 << "\" to --help-property is not a CMake property. "
662 "Use --help-property-list to see all properties.\n";
663 return false;
664}
665
666bool cmDocumentation::PrintHelpListProperties(std::ostream& os)
667{

Callers 1

PrintDocumentationMethod · 0.95

Calls 2

PrintFilesMethod · 0.95
cmStrCatFunction · 0.70

Tested by

no test coverage detected