diff options
author | Brad King <brad.king@kitware.com> | 2013-11-14 16:28:19 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-11-14 16:28:19 (GMT) |
commit | bd082a29a99e28be5d4687c391942f6143d9d6b9 (patch) | |
tree | 957254daf057c73a3c2b2798213d9e03e09600a8 /Source | |
parent | 15872a3c3038368784e43074ea0b9539b3e03bfb (diff) | |
parent | 58e3d4948de6308fa3c4a1b619792499cd3b9eba (diff) | |
download | CMake-bd082a29a99e28be5d4687c391942f6143d9d6b9.zip CMake-bd082a29a99e28be5d4687c391942f6143d9d6b9.tar.gz CMake-bd082a29a99e28be5d4687c391942f6143d9d6b9.tar.bz2 |
Merge topic 'msvc-encoding'
58e3d49 MSVC: Fix encoding of Visual Studio 10+ project files.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index ab97b5e..ace1eef 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -219,7 +219,8 @@ void cmVisualStudio10TargetGenerator::Generate() //get the tools version to use const std::string toolsVer(this->GlobalGenerator->GetToolsVersion()); - std::string project_defaults="<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; + std::string project_defaults= + "<?xml version=\"1.0\" encoding=\"Windows-1252\"?>\n"; project_defaults.append("<Project DefaultTargets=\"Build\" ToolsVersion=\""); project_defaults.append(toolsVer +"\" "); project_defaults.append( @@ -724,7 +725,8 @@ void cmVisualStudio10TargetGenerator::WriteGroups() //get the tools version to use const std::string toolsVer(this->GlobalGenerator->GetToolsVersion()); - std::string project_defaults="<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; + std::string project_defaults= + "<?xml version=\"1.0\" encoding=\"Windows-1252\"?>\n"; project_defaults.append("<Project ToolsVersion=\""); project_defaults.append(toolsVer +"\" "); project_defaults.append( |