| 2374 | } |
| 2375 | |
| 2376 | bool cmMakefile::IsNormalDefinitionSet(std::string const& name) const |
| 2377 | { |
| 2378 | cmValue def = this->StateSnapshot.GetDefinition(name); |
| 2379 | #ifndef CMAKE_BOOTSTRAP |
| 2380 | if (cmVariableWatch* vv = this->GetVariableWatch()) { |
| 2381 | if (!def) { |
| 2382 | vv->VariableAccessed( |
| 2383 | name, cmVariableWatch::UNKNOWN_VARIABLE_DEFINED_ACCESS, nullptr, this); |
| 2384 | } |
| 2385 | } |
| 2386 | #endif |
| 2387 | return def != nullptr; |
| 2388 | } |
| 2389 | |
| 2390 | cmValue cmMakefile::GetDefinition(std::string const& name) const |
| 2391 | { |
no test coverage detected