cmDependsJava.cxx 1.5 KB

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