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

Method SetDirectoryDefinitions

Source/cmStateSnapshot.cxx:375–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375void cmStateSnapshot::SetDirectoryDefinitions()
376{
377 this->SetDefinition("CMAKE_SOURCE_DIR", this->State->GetSourceDirectory());
378 this->SetDefinition("CMAKE_CURRENT_SOURCE_DIR",
379 this->State->GetSourceDirectory());
380 this->SetDefinition("CMAKE_BINARY_DIR", this->State->GetBinaryDirectory());
381 this->SetDefinition("CMAKE_CURRENT_BINARY_DIR",
382 this->State->GetBinaryDirectory());
383}
384
385void cmStateSnapshot::InitializeFromParent()
386{

Callers 1

Calls 1

SetDefinitionMethod · 0.95

Tested by

no test coverage detected