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

Method NormalizePath

Source/cmCxxModuleMetadata.cxx:450–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448 std::set<std::string> Sources;
449
450 std::string NormalizePath(std::string const& in) const
451 {
452 std::string out = in;
453 if (!cmSystemTools::FileIsFullPath(in)) {
454 out = cmStrCat(MetadataDir, '/', in);
455 }
456 return cmSystemTools::CollapseFullPath(out);
457 }
458};
459
460MetaDataProperties CollectMetaProperties(cmCxxModuleMetadata const& meta)

Callers 2

CollectMetaPropertiesFunction · 0.45
PopulateImportedTargetFunction · 0.45

Calls 1

cmStrCatFunction · 0.70

Tested by

no test coverage detected