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

Method XCodeEscapePath

Source/cmGlobalXCodeGenerator.cxx:5351–5358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5349}
5350
5351std::string cmGlobalXCodeGenerator::XCodeEscapePath(std::string const& p)
5352{
5353 if (p.find_first_of(" []") != std::string::npos) {
5354 std::string t = cmStrCat('"', p, '"');
5355 return t;
5356 }
5357 return p;
5358}
5359
5360void cmGlobalXCodeGenerator::AppendDirectoryForConfig(
5361 std::string const& prefix, std::string const& config,

Callers 2

CreateBuildSettingsMethod · 0.95

Calls 2

find_first_ofMethod · 0.80
cmStrCatFunction · 0.70

Tested by

no test coverage detected