diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2018-03-22 14:15:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-03-26 13:35:58 (GMT) |
commit | a0d9429bd70426b6444d3987d7023fe40e203b88 (patch) | |
tree | 50458dbc1596acc7db050447af2ce1faa7d3bcf0 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 8aec07e0576a6121174a210dd3e3440a9f7105aa (diff) | |
download | CMake-a0d9429bd70426b6444d3987d7023fe40e203b88.zip CMake-a0d9429bd70426b6444d3987d7023fe40e203b88.tar.gz CMake-a0d9429bd70426b6444d3987d7023fe40e203b88.tar.bz2 |
cmVisualStudioGeneratorOptions: Move XML code to subclasses
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 500a0aa..c7bb38cc 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -2065,6 +2065,15 @@ std::string cmLocalVisualStudio7Generator::ConvertToXMLOutputPathSingle( return ret; } +void cmVS7GeneratorOptions::OutputFlag(std::ostream& fout, const char* indent, + const char* tag, + const std::string& content) +{ + fout << indent << tag << "=\""; + fout << cmLocalVisualStudio7GeneratorEscapeForXML(content); + fout << "\""; +} + // This class is used to parse an existing vs 7 project // and extract the GUID class cmVS7XMLParser : public cmXMLParser |