summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator2.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator2.cxx16
1 files changed, 9 insertions, 7 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator2.cxx b/Source/cmLocalUnixMakefileGenerator2.cxx
index e8183ee..bf2a3c5 100644
--- a/Source/cmLocalUnixMakefileGenerator2.cxx
+++ b/Source/cmLocalUnixMakefileGenerator2.cxx
@@ -822,7 +822,7 @@ cmLocalUnixMakefileGenerator2
std::auto_ptr<cmDepends>
checker(this->GetDependsChecker(lang,
m_Makefile->GetStartOutputDirectory(),
- objFile));
+ objFile, false));
if(checker.get())
{
// Save the make and mark file names.
@@ -3099,20 +3099,21 @@ cmLocalUnixMakefileGenerator2
cmDepends*
cmLocalUnixMakefileGenerator2::GetDependsChecker(const std::string& lang,
const char* dir,
- const char* objFile)
+ const char* objFile,
+ bool verbose)
{
if(lang == "C" || lang == "CXX" || lang == "RC")
{
- return new cmDependsC(dir, objFile);
+ return new cmDependsC(dir, objFile, verbose);
}
#ifdef CMAKE_BUILD_WITH_CMAKE
else if(lang == "Fortran")
{
- return new cmDependsFortran(dir, objFile);
+ return new cmDependsFortran(dir, objFile, verbose);
}
else if(lang == "Java")
{
- return new cmDependsJava(dir, objFile);
+ return new cmDependsJava(dir, objFile, verbose);
}
#endif
return 0;
@@ -3220,7 +3221,8 @@ cmLocalUnixMakefileGenerator2
}
//----------------------------------------------------------------------------
-void cmLocalUnixMakefileGenerator2::CheckDependencies(cmMakefile* mf)
+void cmLocalUnixMakefileGenerator2::CheckDependencies(cmMakefile* mf,
+ bool verbose)
{
// Get the list of languages that may have sources to check.
const char* langDef = mf->GetDefinition("CMAKE_DEPENDS_LANGUAGES");
@@ -3249,7 +3251,7 @@ void cmLocalUnixMakefileGenerator2::CheckDependencies(cmMakefile* mf)
// Construct a checker for the given language.
std::auto_ptr<cmDepends>
checker(cmLocalUnixMakefileGenerator2
- ::GetDependsChecker(*l, ".", f->c_str()));
+ ::GetDependsChecker(*l, ".", f->c_str(), verbose));
if(checker.get())
{
checker->Check();