2016-09-27 19:01:08 +00:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2005-03-01 17:21:34 +00:00
|
|
|
#include "cmDependsJava.h"
|
|
|
|
|
|
|
|
#include "cmSystemTools.h"
|
|
|
|
|
2005-07-27 13:49:37 +00:00
|
|
|
cmDependsJava::cmDependsJava()
|
2005-03-01 17:21:34 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
cmDependsJava::~cmDependsJava()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-09-30 15:53:01 +00:00
|
|
|
bool cmDependsJava::WriteDependencies(const std::set<std::string>& sources,
|
2016-08-16 23:49:57 +00:00
|
|
|
const std::string& /*obj*/,
|
|
|
|
std::ostream& /*makeDepends*/,
|
|
|
|
std::ostream& /*internalDepends*/)
|
2005-03-01 17:21:34 +00:00
|
|
|
{
|
|
|
|
// Make sure this is a scanning instance.
|
2016-05-16 14:34:04 +00:00
|
|
|
if (sources.empty() || sources.begin()->empty()) {
|
2005-03-01 17:21:34 +00:00
|
|
|
cmSystemTools::Error("Cannot scan dependencies without an source file.");
|
|
|
|
return false;
|
2016-05-16 14:34:04 +00:00
|
|
|
}
|
2005-03-01 17:21:34 +00:00
|
|
|
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2016-08-16 23:49:57 +00:00
|
|
|
bool cmDependsJava::CheckDependencies(
|
|
|
|
std::istream& /*internalDepends*/, const char* /*internalDependsFileName*/,
|
|
|
|
std::map<std::string, DependencyVector>& /*validDeps*/)
|
2005-03-01 17:21:34 +00:00
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|