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

Method GetVariableOrString

Source/cmConditionEvaluator.cxx:305–315  ·  view source on GitHub ↗

=========================================================================

Source from the content-addressed store, hash-verified

303
304//=========================================================================
305cmValue cmConditionEvaluator::GetVariableOrString(
306 cmExpandedCommandArgument const& argument) const
307{
308 cmValue def = this->GetDefinitionIfUnquoted(argument);
309
310 if (!def) {
311 def = cmValue(argument.GetValue());
312 }
313
314 return def;
315}
316
317//=========================================================================
318bool cmConditionEvaluator::IsKeyword(

Callers 1

HandleLevel2Method · 0.95

Calls 3

cmValueClass · 0.70
GetValueMethod · 0.45

Tested by

no test coverage detected