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

Method GetCxxModuleFile

Source/cmExportCMakeConfigGenerator.cxx:650–660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

648}
649
650std::string cmExportCMakeConfigGenerator::GetCxxModuleFile(
651 std::string const& name) const
652{
653 auto const& cxxModuleDirname = this->GetCxxModulesDirectory();
654 if (cxxModuleDirname.empty()) {
655 return {};
656 }
657
658 return cmStrCat(cmSystemTools::GetFilenamePath(this->MainImportFile), '/',
659 cxxModuleDirname, "/cxx-modules-", name, ".cmake");
660}
661
662void cmExportCMakeConfigGenerator::GenerateCxxModuleInformation(
663 std::string const& name, std::ostream& os)

Callers 1

Calls 3

cmStrCatFunction · 0.70
emptyMethod · 0.45

Tested by

no test coverage detected