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

Method GetFilesystemExportName

Source/cmGeneratorTarget.cxx:219–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219std::string cmGeneratorTarget::GetFilesystemExportName() const
220{
221 auto fs_safe = this->GetExportName();
222 // First escape any `_` characters to avoid collisions.
223 cmSystemTools::ReplaceString(fs_safe, "_", "__");
224 // Escape other characters that are not generally filesystem-safe.
225 cmSystemTools::ReplaceString(fs_safe, ":", "_c");
226 return fs_safe;
227}
228
229cmValue cmGeneratorTarget::GetProperty(std::string const& prop) const
230{

Calls 1

GetExportNameMethod · 0.95

Tested by

no test coverage detected