diff options
author | Dāvis Mosāns <davispuh@gmail.com> | 2016-10-05 13:46:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-06 14:56:00 (GMT) |
commit | c666f8cbc6cb81b0729e116890c70096fd2101ac (patch) | |
tree | f3076e9bef190d833e291d12b8eece8201d52b8a /Source/cmGlobalNMakeMakefileGenerator.h | |
parent | f00214aa4f8036951a926efd7dc3891d47abce49 (diff) | |
download | CMake-c666f8cbc6cb81b0729e116890c70096fd2101ac.zip CMake-c666f8cbc6cb81b0729e116890c70096fd2101ac.tar.gz CMake-c666f8cbc6cb81b0729e116890c70096fd2101ac.tar.bz2 |
NMake: Use ANSI encoding for NMake Makefiles
Set ANSI encoding to cmGeneratedFileStream for use with NMake Makefile
generator.
Diffstat (limited to 'Source/cmGlobalNMakeMakefileGenerator.h')
-rw-r--r-- | Source/cmGlobalNMakeMakefileGenerator.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalNMakeMakefileGenerator.h b/Source/cmGlobalNMakeMakefileGenerator.h index f169e76..6eb2124 100644 --- a/Source/cmGlobalNMakeMakefileGenerator.h +++ b/Source/cmGlobalNMakeMakefileGenerator.h @@ -26,6 +26,12 @@ public: } static std::string GetActualName() { return "NMake Makefiles"; } + /** Get encoding used by generator for makefile files */ + codecvt::Encoding GetMakefileEncoding() const CM_OVERRIDE + { + return codecvt::ANSI; + } + /** Get the documentation entry for this generator. */ static void GetDocumentation(cmDocumentationEntry& entry); |