cmDependsJava.cxx 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 "cmDependsJavaParserHelper.h"
  12. #include "cmSystemTools.h"
  13. cmDependsJava::cmDependsJava()
  14. {
  15. }
  16. cmDependsJava::~cmDependsJava()
  17. {
  18. }
  19. bool cmDependsJava::WriteDependencies(const std::set<std::string>& sources,
  20. const std::string&, std::ostream&, std::ostream&)
  21. {
  22. // Make sure this is a scanning instance.
  23. if(sources.empty() || sources.begin()->empty())
  24. {
  25. cmSystemTools::Error("Cannot scan dependencies without an source file.");
  26. return false;
  27. }
  28. return true;
  29. }
  30. bool cmDependsJava::CheckDependencies(std::istream&, const char*,
  31. std::map<std::string, DependencyVector >&)
  32. {
  33. return true;
  34. }