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

Function consistentStringProperty

Source/cmGeneratorTarget_CompatibleInterface.cxx:463–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463static std::pair<bool, char const*> consistentStringProperty(char const* lhs,
464 char const* rhs)
465{
466 bool const b = strcmp(lhs, rhs) == 0;
467 return { b, b ? lhs : nullptr };
468}
469
470static std::pair<bool, std::string> consistentStringProperty(
471 std::string const& lhs, std::string const& rhs)

Callers 1

consistentPropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…