mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Ninja: don't pollute the rules file with useless comments
This commit is contained in:
@@ -96,13 +96,11 @@ void cmNinjaNormalTargetGenerator::Generate()
|
||||
#endif
|
||||
this->WriteLinkStatement();
|
||||
}
|
||||
|
||||
this->GetBuildFileStream() << "\n";
|
||||
this->GetRulesFileStream() << "\n";
|
||||
}
|
||||
|
||||
void cmNinjaNormalTargetGenerator::WriteLanguagesRules()
|
||||
{
|
||||
#ifdef NINJA_GEN_VERBOSE_FILES
|
||||
cmGlobalNinjaGenerator::WriteDivider(this->GetRulesFileStream());
|
||||
this->GetRulesFileStream()
|
||||
<< "# Rules for each languages for "
|
||||
@@ -110,6 +108,7 @@ void cmNinjaNormalTargetGenerator::WriteLanguagesRules()
|
||||
<< " target "
|
||||
<< this->GetTargetName()
|
||||
<< "\n\n";
|
||||
#endif
|
||||
|
||||
std::set<cmStdString> languages;
|
||||
this->GetTarget()->GetLanguages(languages);
|
||||
|
||||
Reference in New Issue
Block a user