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

Function cmIsOff

Source/cmValue.h:258–261  ·  view source on GitHub ↗

* Does a string indicate a false or off value ? Note that this is * not the same as !IsOn(...) because there are a number of * ambiguous values such as "/usr/local/bin" a path will result in * IsON and IsOff both returning false. Note that the special path * NOTFOUND, *-NOTFOUND or IGNORE will cause IsOff to return true. */

Source from the content-addressed store, hash-verified

256 * NOTFOUND, *-NOTFOUND or IGNORE will cause IsOff to return true.
257 */
258inline bool cmIsOff(cm::string_view val)
259{
260 return cmValue::IsOff(val);
261}
262inline bool cmIsOff(char const* val)
263{
264 return cmValue::IsOff(val);

Callers 15

GetBooleanValueMethod · 0.85
AddCacheDefinitionMethod · 0.85
NormalizeIncludeFunction · 0.85
WriteDeviceLinkRuleMethod · 0.85
SelectMakeProgramMethod · 0.85
HandleCacheModeFunction · 0.85
AddArchitectureFlagsMethod · 0.85
cmCTestMethod · 0.85
EvaluateMethod · 0.85

Calls 1

IsOffMethod · 0.45

Tested by 1

cmCTestMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…