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

Method RelativePathWithoutComponentPrefix

Source/CPack/WiX/cmCPackWIXGenerator.cxx:1386–1396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1384}
1385
1386std::string cmCPackWIXGenerator::RelativePathWithoutComponentPrefix(
1387 std::string const& path)
1388{
1389 if (this->Components.empty()) {
1390 return path;
1391 }
1392
1393 std::string::size_type pos = path.find('/');
1394
1395 return path.substr(pos + 1);
1396}
1397
1398void cmCPackWIXGenerator::InjectXmlNamespaces(cmWIXSourceWriter& sourceWriter)
1399{

Callers 1

Calls 3

emptyMethod · 0.45
findMethod · 0.45
substrMethod · 0.45

Tested by

no test coverage detected