| 2088 | } |
| 2089 | |
| 2090 | void cmLocalVisualStudio7Generator::WriteVCProjFooter( |
| 2091 | std::ostream& fout, cmGeneratorTarget* target) |
| 2092 | { |
| 2093 | fout << "\t<Globals>\n"; |
| 2094 | |
| 2095 | for (std::string const& key : target->GetPropertyKeys()) { |
| 2096 | if (cmHasLiteralPrefix(key, "VS_GLOBAL_")) { |
| 2097 | std::string name = key.substr(10); |
| 2098 | if (!name.empty()) { |
| 2099 | fout << "\t\t<Global\n" |
| 2100 | "\t\t\tName=\"" |
| 2101 | << name |
| 2102 | << "\"\n" |
| 2103 | "\t\t\tValue=\"" |
| 2104 | << target->GetProperty(key) |
| 2105 | << "\"\n" |
| 2106 | "\t\t/>\n"; |
| 2107 | } |
| 2108 | } |
| 2109 | } |
| 2110 | |
| 2111 | fout << "\t</Globals>\n" |
| 2112 | "</VisualStudioProject>\n"; |
| 2113 | } |
| 2114 | |
| 2115 | std::string cmLocalVisualStudio7Generator::EscapeForXML(std::string const& s) |
| 2116 | { |
no test coverage detected