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

Method SetDefinition

Source/cmStateSnapshot.cxx:239–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void cmStateSnapshot::SetDefinition(std::string const& name,
240 cm::string_view value)
241{
242 this->Position->Vars->Set(name, value);
243}
244
245void cmStateSnapshot::RemoveDefinition(std::string const& name)
246{

Callers 9

SetDefaultDefinitionsMethod · 0.95
AddDefinitionMethod · 0.80
SetCurrentSourceMethod · 0.80
SetCurrentBinaryMethod · 0.80
RaiseScopeMethod · 0.80
SetHomeDirectoryMethod · 0.80

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected