mirror of
https://github.com/Kitware/CMake.git
synced 2025-05-10 07:10:32 +08:00

Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`, now with "east const" enforcement. Use `clang-format` version 18. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. Issue: #26123
31 lines
968 B
C++
31 lines
968 B
C++
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
|
#include "cmDependsJava.h"
|
|
|
|
#include "cmSystemTools.h"
|
|
|
|
cmDependsJava::cmDependsJava() = default;
|
|
|
|
cmDependsJava::~cmDependsJava() = default;
|
|
|
|
bool cmDependsJava::WriteDependencies(std::set<std::string> const& sources,
|
|
std::string const& /*obj*/,
|
|
std::ostream& /*makeDepends*/,
|
|
std::ostream& /*internalDepends*/)
|
|
{
|
|
// Make sure this is a scanning instance.
|
|
if (sources.empty() || sources.begin()->empty()) {
|
|
cmSystemTools::Error("Cannot scan dependencies without an source file.");
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
bool cmDependsJava::CheckDependencies(
|
|
std::istream& /*internalDepends*/,
|
|
std::string const& /*internalDependsFileName*/, DependencyMap& /*validDeps*/)
|
|
{
|
|
return true;
|
|
}
|