| 1158 | } |
| 1159 | |
| 1160 | void cmExtraEclipseCDT4Generator::AppendScannerProfile( |
| 1161 | cmXMLWriter& xml, std::string const& profileID, bool openActionEnabled, |
| 1162 | std::string const& openActionFilePath, bool pParserEnabled, |
| 1163 | std::string const& scannerInfoProviderID, |
| 1164 | std::string const& runActionArguments, std::string const& runActionCommand, |
| 1165 | bool runActionUseDefault, bool sipParserEnabled) |
| 1166 | { |
| 1167 | xml.StartElement("profile"); |
| 1168 | xml.Attribute("id", profileID); |
| 1169 | |
| 1170 | xml.StartElement("buildOutputProvider"); |
| 1171 | xml.StartElement("openAction"); |
| 1172 | xml.Attribute("enabled", openActionEnabled ? "true" : "false"); |
| 1173 | xml.Attribute("filePath", openActionFilePath); |
| 1174 | xml.EndElement(); // openAction |
| 1175 | xml.StartElement("parser"); |
| 1176 | xml.Attribute("enabled", pParserEnabled ? "true" : "false"); |
| 1177 | xml.EndElement(); // parser |
| 1178 | xml.EndElement(); // buildOutputProvider |
| 1179 | |
| 1180 | xml.StartElement("scannerInfoProvider"); |
| 1181 | xml.Attribute("id", scannerInfoProviderID); |
| 1182 | xml.StartElement("runAction"); |
| 1183 | xml.Attribute("arguments", runActionArguments); |
| 1184 | xml.Attribute("command", runActionCommand); |
| 1185 | xml.Attribute("useDefault", runActionUseDefault ? "true" : "false"); |
| 1186 | xml.EndElement(); // runAction |
| 1187 | xml.StartElement("parser"); |
| 1188 | xml.Attribute("enabled", sipParserEnabled ? "true" : "false"); |
| 1189 | xml.EndElement(); // parser |
| 1190 | xml.EndElement(); // scannerInfoProvider |
| 1191 | |
| 1192 | xml.EndElement(); // profile |
| 1193 | } |
| 1194 | |
| 1195 | void cmExtraEclipseCDT4Generator::AppendLinkedResource(cmXMLWriter& xml, |
| 1196 | std::string const& name, |
nothing calls this directly
no test coverage detected