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

Function GetListString

Source/cmListCommand.cxx:60–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60bool GetListString(std::string& listString, std::string const& var,
61 cmMakefile const& makefile)
62{
63 // get the old value
64 cmValue cacheValue = makefile.GetDefinition(var);
65 if (!cacheValue) {
66 return false;
67 }
68 listString = *cacheValue;
69 return true;
70}
71
72cm::optional<cmList> GetList(std::string const& var,
73 cmMakefile const& makefile)

Callers 3

GetListFunction · 0.85
HandleAppendCommandFunction · 0.85
HandlePrependCommandFunction · 0.85

Calls 1

GetDefinitionMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…