diff options
author | Peter Kuemmel <syntheticpp@gmx.net> | 2012-06-10 18:20:29 (GMT) |
---|---|---|
committer | Peter Kuemmel <syntheticpp@gmx.net> | 2012-06-10 18:20:29 (GMT) |
commit | ba8d0db217399dede6d897c928b4dbf52e7e141b (patch) | |
tree | 5a0e167cdc7c98a26a3a5a52599ec6aa476674d4 /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | 343ff7a72e7c08f3a63dde25bd1f06c8c3854f56 (diff) | |
download | CMake-ba8d0db217399dede6d897c928b4dbf52e7e141b.zip CMake-ba8d0db217399dede6d897c928b4dbf52e7e141b.tar.gz CMake-ba8d0db217399dede6d897c928b4dbf52e7e141b.tar.bz2 |
Ninja: don't pollute the rules file with useless comments
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index ddf96eb..e377706 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -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); |