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

Method GetNativePath

Source/cmCMakePath.cxx:125–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void cmCMakePath::GetNativePath(std::string& path) const
126{
127 cm::filesystem::path tmp(this->Path);
128 tmp.make_preferred();
129
130 path = tmp.string();
131}
132void cmCMakePath::GetNativePath(std::wstring& path) const
133{
134 cm::filesystem::path tmp(this->Path);

Callers 3

NativeMethod · 0.95
NativeStringMethod · 0.95
NativeWStringMethod · 0.95

Calls 5

IsAbsoluteMethod · 0.95
HasRootNameMethod · 0.95
lengthMethod · 0.80
stringMethod · 0.45
substrMethod · 0.45

Tested by

no test coverage detected