cmDependsJava.cxx 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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& /*obj*/,
  21. std::ostream& /*makeDepends*/,
  22. std::ostream& /*internalDepends*/)
  23. {
  24. // Make sure this is a scanning instance.
  25. if (sources.empty() || sources.begin()->empty()) {
  26. cmSystemTools::Error("Cannot scan dependencies without an source file.");
  27. return false;
  28. }
  29. return true;
  30. }
  31. bool cmDependsJava::CheckDependencies(
  32. std::istream& /*internalDepends*/, const char* /*internalDependsFileName*/,
  33. std::map<std::string, DependencyVector>& /*validDeps*/)
  34. {
  35. return true;
  36. }