summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-07 13:22:08 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-07 13:22:08 (GMT)
commitb4fab15fc75e4ad62ece05dc9a37bd87e807ba9b (patch)
tree2a6e813512d1594f6baec318e385e153af03d8d2 /Source/cmGlobalGenerator.h
parentcb5cadf3c79bf2d80dbd1e2f5602ed709fe25ef5 (diff)
parentc666f8cbc6cb81b0729e116890c70096fd2101ac (diff)
downloadCMake-b4fab15fc75e4ad62ece05dc9a37bd87e807ba9b.zip
CMake-b4fab15fc75e4ad62ece05dc9a37bd87e807ba9b.tar.gz
CMake-b4fab15fc75e4ad62ece05dc9a37bd87e807ba9b.tar.bz2
Merge topic 'nmake-encoding'
c666f8cb NMake: Use ANSI encoding for NMake Makefiles f00214aa cmGeneratedFileStream: Add optional encoding support bb1d3370 codecvt: Add class for encoding conversion
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index add2b92..74b4547 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -10,6 +10,7 @@
#include "cmSystemTools.h"
#include "cmTarget.h"
#include "cmTargetDepend.h"
+#include "cm_codecvt.hxx"
#include <iosfwd>
#include <map>
@@ -60,6 +61,12 @@ public:
return this->GetName() == name;
}
+ /** Get encoding used by generator for makefile files */
+ virtual codecvt::Encoding GetMakefileEncoding() const
+ {
+ return codecvt::None;
+ }
+
/** Tell the generator about the target system. */
virtual bool SetSystemName(std::string const&, cmMakefile*) { return true; }