diff options
author | Dāvis Mosāns <davispuh@gmail.com> | 2016-10-19 20:51:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-20 17:13:48 (GMT) |
commit | ced77d2bbd07d195f563217bea1930e29472fd4d (patch) | |
tree | ead2c50bb00bc04f21614ee6be979f0886ce44e7 /Source/cmGlobalNinjaGenerator.h | |
parent | 7aa9961939f99c915485d86e460b9941f949d59c (diff) | |
download | CMake-ced77d2bbd07d195f563217bea1930e29472fd4d.zip CMake-ced77d2bbd07d195f563217bea1930e29472fd4d.tar.gz CMake-ced77d2bbd07d195f563217bea1930e29472fd4d.tar.bz2 |
Ninja: Use ANSI encoding for Ninja build files on Windows
Pass ANSI encoding to cmGeneratedFileStream for use with Ninja
generator.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index d4a14e2..3d13e0b 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/Source/cmGlobalNinjaGenerator.h @@ -186,6 +186,9 @@ public: static std::string GetActualName() { return "Ninja"; } + /** Get encoding used by generator for ninja files */ + codecvt::Encoding GetMakefileEncoding() const CM_OVERRIDE; + static void GetDocumentation(cmDocumentationEntry& entry); void EnableLanguage(std::vector<std::string> const& languages, |