cmDependsJava.cxx 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #include "cmDependsJava.h"
  11. #include "cmSystemTools.h"
  12. cmDependsJava::cmDependsJava()
  13. {
  14. }
  15. cmDependsJava::~cmDependsJava()
  16. {
  17. }
  18. bool cmDependsJava::WriteDependencies(const std::set<std::string>& sources,
  19. const std::string& /*obj*/,
  20. std::ostream& /*makeDepends*/,
  21. std::ostream& /*internalDepends*/)
  22. {
  23. // Make sure this is a scanning instance.
  24. if (sources.empty() || sources.begin()->empty()) {
  25. cmSystemTools::Error("Cannot scan dependencies without an source file.");
  26. return false;
  27. }
  28. return true;
  29. }
  30. bool cmDependsJava::CheckDependencies(
  31. std::istream& /*internalDepends*/, const char* /*internalDependsFileName*/,
  32. std::map<std::string, DependencyVector>& /*validDeps*/)
  33. {
  34. return true;
  35. }