diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2019-07-13 10:07:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-28 15:47:51 (GMT) |
commit | 519606704eac6df1314ec6691a1b77d2131a6dbc (patch) | |
tree | e385553188a284cef18bfeae07c3ee5827d5e434 /Source/cmGlobalVisualStudioGenerator.h | |
parent | 28be170fbc97a29be6383fb4afe5f62c6983fb2c (diff) | |
download | CMake-519606704eac6df1314ec6691a1b77d2131a6dbc.zip CMake-519606704eac6df1314ec6691a1b77d2131a6dbc.tar.gz CMake-519606704eac6df1314ec6691a1b77d2131a6dbc.tar.bz2 |
Precompile headers: Add support for Visual Studio generators
Tested with Visual C++ 2017 on Windows.
Co-Author: Daniel Pfeifer <daniel@pfeifer-mail.de>
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.h')
-rw-r--r-- | Source/cmGlobalVisualStudioGenerator.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.h b/Source/cmGlobalVisualStudioGenerator.h index cbab329..e4cd73f 100644 --- a/Source/cmGlobalVisualStudioGenerator.h +++ b/Source/cmGlobalVisualStudioGenerator.h @@ -110,6 +110,13 @@ public: bool IsIncludeExternalMSProjectSupported() const override { return true; } + /** Get encoding used by generator for generated source files + */ + codecvt::Encoding GetMakefileEncoding() const override + { + return codecvt::ANSI; + } + class TargetSet : public std::set<cmGeneratorTarget const*> { }; |