FIX: fix bad depend info and COMPILE_FLAGS problem and remove extra cerr calls
This commit is contained in:
parent
8d62804b3a
commit
3b0632ae75
|
@ -349,12 +349,18 @@ void cmGlobalUnixMakefileGenerator3
|
|||
for (cmTargets::iterator l = lg->GetMakefile()->GetTargets().begin();
|
||||
l != lg->GetMakefile()->GetTargets().end(); l++)
|
||||
{
|
||||
if((l->second.GetType() == cmTarget::EXECUTABLE) ||
|
||||
(l->second.GetType() == cmTarget::STATIC_LIBRARY) ||
|
||||
(l->second.GetType() == cmTarget::SHARED_LIBRARY) ||
|
||||
(l->second.GetType() == cmTarget::MODULE_LIBRARY) )
|
||||
{
|
||||
std::string tname = lg->GetRelativeTargetDirectory(l->second);
|
||||
tname += "/DependInfo.cmake";
|
||||
cmSystemTools::ConvertToUnixSlashes(tname);
|
||||
cmakefileStream << " \"" << tname.c_str() << "\"\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
cmakefileStream << " )\n";
|
||||
}
|
||||
|
||||
|
|
|
@ -543,8 +543,6 @@ cmLocalUnixMakefileGenerator3
|
|||
// Add include directory flags.
|
||||
this->AppendFlags(flags, this->GetIncludeFlags(lang));
|
||||
|
||||
std::cerr << "Have total flags: " << flags << std::endl;
|
||||
|
||||
// Get the output paths for source and object files.
|
||||
std::string sourceFile = source.GetFullPath();
|
||||
if(m_UseRelativePaths)
|
||||
|
|
Loading…
Reference in New Issue