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

Function cmNonempty

Source/cmValue.h:282–285  ·  view source on GitHub ↗

Check for non-empty Property/Variable value. */

Source from the content-addressed store, hash-verified

280
281/** Check for non-empty Property/Variable value. */
282inline bool cmNonempty(cm::string_view val)
283{
284 return !cmValue::IsEmpty(val);
285}
286inline bool cmNonempty(char const* val)
287{
288 return !cmValue::IsEmpty(val);

Callers 15

CreateXCodeObjectsMethod · 0.85
WriteExecutableRuleMethod · 0.85
WriteObjectRuleFilesMethod · 0.85
GenDefFileMethod · 0.85
HandleTargetsModeFunction · 0.85
EnableLanguageMethod · 0.85
AddGlobalTarget_TestMethod · 0.85

Calls 1

IsEmptyMethod · 0.45

Tested by 4

InitializeHandlerMethod · 0.68
InitializeHandlerMethod · 0.68
ExecuteConfigureMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…