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

Function cmIsOn

Source/cmValue.h:238–241  ·  view source on GitHub ↗

* Does a string indicate a true or ON value? This is not the same as ifdef. */

Source from the content-addressed store, hash-verified

236 * Does a string indicate a true or ON value? This is not the same as ifdef.
237 */
238inline bool cmIsOn(cm::string_view val)
239{
240 return cmValue::IsOn(val);
241}
242inline bool cmIsOn(char const* val)
243{
244 return cmValue::IsOn(val);

Callers 15

GetBooleanValueMethod · 0.85
getTypedProperty<bool>Function · 0.85
consistentPropertyFunction · 0.85
IsExcludedMethod · 0.85
GetFortranPreprocessMethod · 0.85
HandleCacheModeFunction · 0.85
UpdateDependenciesMethod · 0.85
cmFileInstallerMethod · 0.85

Calls 1

IsOnMethod · 0.45

Tested by 5

RunMethod · 0.68
SetTestsPropertiesMethod · 0.68
cmCTestCurlOptsMethod · 0.68
ProcessHandlerMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…