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

Function ConvertToWindowsSlashes

Source/cmGlobalVisualStudio10Generator.cxx:64–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62static std::map<std::string, std::vector<cmIDEFlagTable>> loadedFlagJsonFiles;
63
64static void ConvertToWindowsSlashes(std::string& s)
65{
66 // first convert all of the slashes
67 for (auto& ch : s) {
68 if (ch == '/') {
69 ch = '\\';
70 }
71 }
72}
73
74cmGlobalVisualStudio10Generator::cmGlobalVisualStudio10Generator(
75 cmake* cm, std::string const& name)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…