2005-03-01 20:21:34 +03:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
Program: CMake - Cross-Platform Makefile Generator
|
|
|
|
Module: $RCSfile$
|
|
|
|
Language: C++
|
|
|
|
Date: $Date$
|
|
|
|
Version: $Revision$
|
|
|
|
|
|
|
|
Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
|
|
|
|
See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
|
|
|
|
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
PURPOSE. See the above copyright notices for more information.
|
|
|
|
|
|
|
|
=========================================================================*/
|
|
|
|
#include "cmDependsJava.h"
|
|
|
|
|
|
|
|
#include "cmDependsJavaParserHelper.h"
|
|
|
|
#include "cmSystemTools.h"
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
2005-07-27 17:49:37 +04:00
|
|
|
cmDependsJava::cmDependsJava()
|
2005-03-01 20:21:34 +03:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
cmDependsJava::~cmDependsJava()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
2005-10-12 21:52:29 +04:00
|
|
|
bool cmDependsJava::WriteDependencies(const char *src, const char *,
|
|
|
|
std::ostream&, std::ostream&)
|
2005-03-01 20:21:34 +03:00
|
|
|
{
|
|
|
|
// Make sure this is a scanning instance.
|
2005-07-27 17:49:37 +04:00
|
|
|
if(!src || src[0] == '\0')
|
2005-03-01 20:21:34 +03:00
|
|
|
{
|
|
|
|
cmSystemTools::Error("Cannot scan dependencies without an source file.");
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2009-09-23 22:02:05 +04:00
|
|
|
bool cmDependsJava::CheckDependencies(std::istream&,
|
|
|
|
std::map<std::string, DependencyVector >&)
|
2005-03-01 20:21:34 +03:00
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|