ENH: fix some warnings and cleanup some
This commit is contained in:
parent
eccf5e7903
commit
4a98fcd059
|
@ -180,7 +180,7 @@ void cmLocalUnixMakefileGenerator3
|
||||||
if(cmCustomCommand* cc = (*i)->GetCustomCommand())
|
if(cmCustomCommand* cc = (*i)->GetCustomCommand())
|
||||||
{
|
{
|
||||||
cc->Used();
|
cc->Used();
|
||||||
this->GenerateCustomRuleFile(*cc,tgtDir.c_str(),ruleFileStream);
|
this->GenerateCustomRuleFile(*cc,ruleFileStream);
|
||||||
if (clean)
|
if (clean)
|
||||||
{
|
{
|
||||||
cleanFiles.push_back
|
cleanFiles.push_back
|
||||||
|
@ -640,7 +640,7 @@ cmLocalUnixMakefileGenerator3
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void
|
void
|
||||||
cmLocalUnixMakefileGenerator3
|
cmLocalUnixMakefileGenerator3
|
||||||
::GenerateCustomRuleFile(const cmCustomCommand& cc, const char *dir,
|
::GenerateCustomRuleFile(const cmCustomCommand& cc,
|
||||||
std::ostream &ruleFileStream)
|
std::ostream &ruleFileStream)
|
||||||
{
|
{
|
||||||
// Convert the output name to a relative path if possible.
|
// Convert the output name to a relative path if possible.
|
||||||
|
@ -1786,8 +1786,6 @@ cmLocalUnixMakefileGenerator3
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
cmGlobalUnixMakefileGenerator3 *gg =
|
|
||||||
static_cast<cmGlobalUnixMakefileGenerator3 *>(m_GlobalGenerator);
|
|
||||||
this->WriteDependLanguageInfo(infoFileStream,target);
|
this->WriteDependLanguageInfo(infoFileStream,target);
|
||||||
|
|
||||||
// and now write the rule to use it
|
// and now write the rule to use it
|
||||||
|
|
|
@ -225,7 +225,6 @@ protected:
|
||||||
|
|
||||||
|
|
||||||
void GenerateCustomRuleFile(const cmCustomCommand& cc,
|
void GenerateCustomRuleFile(const cmCustomCommand& cc,
|
||||||
const char *dir,
|
|
||||||
std::ostream &ruleStream);
|
std::ostream &ruleStream);
|
||||||
|
|
||||||
// these three make some simple changes and then call WriteLibraryRule
|
// these three make some simple changes and then call WriteLibraryRule
|
||||||
|
|
Loading…
Reference in New Issue