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

Method ToNormalizedPathOnDisk

Source/cmSystemTools.cxx:2074–2087  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2072}
2073
2074std::string cmSystemTools::ToNormalizedPathOnDisk(std::string p)
2075{
2076 p = ResolveTildePath(p);
2077 using namespace cm::PathResolver;
2078#ifdef _WIN32
2079 // IWYU pragma: no_forward_declare cm::PathResolver::Policies::CasePath
2080 static Resolver<Policies::CasePath> const resolver(RealOS);
2081#else
2082 // IWYU pragma: no_forward_declare cm::PathResolver::Policies::LogicalPath
2083 static Resolver<Policies::LogicalPath> const resolver(RealOS);
2084#endif
2085 resolver.Resolve(std::move(p), p);
2086 return p;
2087}
2088
2089#ifndef CMAKE_BOOTSTRAP
2090bool cmSystemTools::UnsetEnv(char const* value)

Callers

nothing calls this directly

Calls 2

moveFunction · 0.85
ResolveMethod · 0.80

Tested by

no test coverage detected