| 1143 | } |
| 1144 | |
| 1145 | bool cmGlobalNinjaGenerator::OpenRulesFileStream() |
| 1146 | { |
| 1147 | if (!this->OpenFileStream(this->RulesFileStream, |
| 1148 | cmGlobalNinjaGenerator::NINJA_RULES_FILE)) { |
| 1149 | return false; |
| 1150 | } |
| 1151 | |
| 1152 | // Write comment about this file. |
| 1153 | /* clang-format off */ |
| 1154 | *this->RulesFileStream |
| 1155 | << "# This file contains all the rules used to get the outputs files\n" |
| 1156 | << "# built from the input files.\n" |
| 1157 | << "# It is included in the main '" << NINJA_BUILD_FILE << "'.\n\n" |
| 1158 | ; |
| 1159 | /* clang-format on */ |
| 1160 | return true; |
| 1161 | } |
| 1162 | |
| 1163 | void cmGlobalNinjaGenerator::CloseRulesFileStream() |
| 1164 | { |
no test coverage detected