https://github.com/Kitware/CMake
Raw File
Tip revision: 4be24f031a4829db75b85062cc67125035d8831e authored by Brad King on 04 August 2022, 13:53:57 UTC
CMake 3.24.0
Tip revision: 4be24f0
cmDependsJava.cxx
/* 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(const std::set<std::string>& sources,
                                      const std::string& /*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*/,
  const std::string& /*internalDependsFileName*/, DependencyMap& /*validDeps*/)
{
  return true;
}
back to top