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

Method SetHomeOutputDirectory

Source/cmake.cxx:2194–2201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2192}
2193
2194void cmake::SetHomeOutputDirectory(std::string const& dir)
2195{
2196 assert(!dir.empty());
2197 this->State->SetBinaryDirectory(dir);
2198 if (this->CurrentSnapshot.IsValid()) {
2199 this->CurrentSnapshot.SetDefinition("CMAKE_BINARY_DIR", dir);
2200 }
2201}
2202
2203std::string const& cmake::GetHomeOutputDirectory() const
2204{

Callers 11

FindPackageMethod · 0.95
SetArgsMethod · 0.95
BuildMethod · 0.95
WorkflowMethod · 0.95
LLVMFuzzerTestOneInputFunction · 0.80
TryCompileMethod · 0.80
cmcmd_cmake_ninja_dyndepFunction · 0.80
SetCacheArgsMethod · 0.80
ExecuteCMakeCommandMethod · 0.80
configureMethod · 0.80

Calls 4

SetBinaryDirectoryMethod · 0.80
SetDefinitionMethod · 0.80
emptyMethod · 0.45
IsValidMethod · 0.45

Tested by

no test coverage detected