diff options
author | Brad King <brad.king@kitware.com> | 2015-02-24 18:29:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-02-24 18:30:50 (GMT) |
commit | 987d4a1240a7578804435f13f9021de47e93dada (patch) | |
tree | 21b298f7dbe5d045cb67fd0717bae1606352cf2c /Source/cmGlobalVisualStudio71Generator.cxx | |
parent | 99575c9ac114e6f5d388e1ee7b9a3f788d773c9e (diff) | |
download | CMake-987d4a1240a7578804435f13f9021de47e93dada.zip CMake-987d4a1240a7578804435f13f9021de47e93dada.tar.gz CMake-987d4a1240a7578804435f13f9021de47e93dada.tar.bz2 |
VS: Do not generate a BOM in .sln files
Revert commit v3.2.0-rc1~165^2 (Encoding: Write Visual Studio solution
file with BOM, 2014-12-26). The BOM breaks the VS IDE version selector
when loading the .sln from Windows Explorer.
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio71Generator.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx index 64f9cee..a67a649 100644 --- a/Source/cmGlobalVisualStudio71Generator.cxx +++ b/Source/cmGlobalVisualStudio71Generator.cxx @@ -93,11 +93,6 @@ void cmGlobalVisualStudio71Generator cmLocalGenerator* root, std::vector<cmLocalGenerator*>& generators) { -#ifdef CMAKE_ENCODING_UTF8 - // Add UTF-8 BOM for .sln file to indicate encoding - const unsigned char utf8_bom[3] = {0xEF,0xBB,0xBF}; - fout.write(reinterpret_cast<const char*>(utf8_bom), 3); -#endif // Write out the header for a SLN file this->WriteSLNHeader(fout); |