| 2186 | } |
| 2187 | |
| 2188 | void cmVisualStudio10TargetGenerator::WriteHeaderSource( |
| 2189 | Elem& e1, cmSourceFile const* sf, ConfigToSettings const& toolSettings) |
| 2190 | { |
| 2191 | std::string const& fileName = sf->GetFullPath(); |
| 2192 | Elem e2(e1, "ClInclude"); |
| 2193 | this->WriteSource(e2, sf); |
| 2194 | if (this->IsResxHeader(fileName)) { |
| 2195 | e2.Element("FileType", "CppForm"); |
| 2196 | } else if (this->IsXamlHeader(fileName)) { |
| 2197 | e2.Element("DependentUpon", |
| 2198 | fileName.substr(0, fileName.find_last_of('.'))); |
| 2199 | } |
| 2200 | this->FinishWritingSource(e2, toolSettings); |
| 2201 | } |
| 2202 | |
| 2203 | void cmVisualStudio10TargetGenerator::ParseSettingsProperty( |
| 2204 | std::string const& settingsPropertyValue, ConfigToSettings& toolSettings) |
no test coverage detected