| 456 | } |
| 457 | |
| 458 | void cmStateSnapshot::InitializeFromParent_ForSubdirsCommand() |
| 459 | { |
| 460 | std::string currentSrcDir = *this->GetDefinition("CMAKE_CURRENT_SOURCE_DIR"); |
| 461 | std::string currentBinDir = *this->GetDefinition("CMAKE_CURRENT_BINARY_DIR"); |
| 462 | this->InitializeFromParent(); |
| 463 | this->SetDefinition("CMAKE_SOURCE_DIR", this->State->GetSourceDirectory()); |
| 464 | this->SetDefinition("CMAKE_BINARY_DIR", this->State->GetBinaryDirectory()); |
| 465 | |
| 466 | this->SetDefinition("CMAKE_CURRENT_SOURCE_DIR", currentSrcDir); |
| 467 | this->SetDefinition("CMAKE_CURRENT_BINARY_DIR", currentBinDir); |
| 468 | } |
| 469 | |
| 470 | bool cmStateSnapshot::StrictWeakOrder::operator()( |
| 471 | cmStateSnapshot const& lhs, cmStateSnapshot const& rhs) const |
no test coverage detected