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

Method Clear

Source/cmDepends.cxx:81–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void cmDepends::Clear(std::string const& file) const
82{
83 // Print verbose output.
84 if (this->Verbose) {
85 cmSystemTools::Stdout(
86 cmStrCat("Clearing dependencies in \"", file, "\".\n"));
87 }
88
89 // Write an empty dependency file.
90 cmGeneratedFileStream depFileStream(file);
91 depFileStream << "# Empty dependencies file\n"
92 "# This may be replaced when dependencies are built.\n";
93}
94
95bool cmDepends::WriteDependencies(std::set<std::string> const& /*unused*/,
96 std::string const& /*unused*/,

Callers 4

CheckMethod · 0.95
ClearDependenciesMethod · 0.45
ResetMethod · 0.45
LoadMethod · 0.45

Calls 1

cmStrCatFunction · 0.70

Tested by

no test coverage detected