Ninja: don't pollute the rules file with useless comments

This commit is contained in:
Peter Kuemmel
2012-06-10 20:20:29 +02:00
parent 343ff7a72e
commit ba8d0db217
5 changed files with 35 additions and 5 deletions
+2 -1
View File
@@ -309,10 +309,11 @@ void
cmNinjaTargetGenerator
::WriteLanguageRules(const std::string& language)
{
#ifdef NINJA_GEN_VERBOSE_FILES
this->GetRulesFileStream()
<< "# Rules for language " << language << "\n\n";
#endif
this->WriteCompileRule(language);
this->GetRulesFileStream() << "\n";
}
void