| 127 | this->Makefile->MarkVariableAsUsed(kCMAKE_CURRENT_LIST_DIR); |
| 128 | } |
| 129 | void PopListFileVars() |
| 130 | { |
| 131 | if (this->OldParent) { |
| 132 | this->Makefile->AddDefinition(kCMAKE_PARENT_LIST_FILE, *this->OldParent); |
| 133 | this->Makefile->MarkVariableAsUsed(kCMAKE_PARENT_LIST_FILE); |
| 134 | } else { |
| 135 | this->Makefile->RemoveDefinition(kCMAKE_PARENT_LIST_FILE); |
| 136 | } |
| 137 | this->Makefile->AddDefinition(kCMAKE_CURRENT_LIST_FILE, this->OldCurrent); |
| 138 | this->Makefile->AddDefinition( |
| 139 | kCMAKE_CURRENT_LIST_DIR, |
| 140 | cmSystemTools::GetFilenamePath(this->OldCurrent)); |
| 141 | this->Makefile->MarkVariableAsUsed(kCMAKE_CURRENT_LIST_FILE); |
| 142 | this->Makefile->MarkVariableAsUsed(kCMAKE_CURRENT_LIST_DIR); |
| 143 | } |
| 144 | }; |
| 145 | } |
| 146 |
no test coverage detected