summaryrefslogtreecommitdiffstats
path: root/Source/cmProcessOutput.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-12-02 14:54:09 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-12-02 14:54:09 (GMT)
commitf7425c2177e3368ec83e2731cc092dcd2a999d82 (patch)
tree9d94cabc91f3cc9c343d16ea3b661f81ec64ebcd /Source/cmProcessOutput.h
parentbd6a269e1acf7f5634d05bb085d9e12cf51e9e35 (diff)
parent2ed473b3b8e28485e6a14a49c7e0e4133eb02eee (diff)
downloadCMake-f7425c2177e3368ec83e2731cc092dcd2a999d82.zip
CMake-f7425c2177e3368ec83e2731cc092dcd2a999d82.tar.gz
CMake-f7425c2177e3368ec83e2731cc092dcd2a999d82.tar.bz2
Merge topic 'execute_process-encoding'
2ed473b3 execute_process: Add ENCODING option for Windows child process output
Diffstat (limited to 'Source/cmProcessOutput.h')
-rw-r--r--Source/cmProcessOutput.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmProcessOutput.h b/Source/cmProcessOutput.h
index 6a4e7d5..6046f57 100644
--- a/Source/cmProcessOutput.h
+++ b/Source/cmProcessOutput.h
@@ -27,6 +27,13 @@ public:
OEM
};
+ /**
+ * Find encoding enum value for given encoding \a name.
+ * \param name a encoding name.
+ * \return encoding enum value or Auto if \a name was not found.
+ */
+ static Encoding FindEncoding(std::string name);
+
/// The code page that is used as internal encoding to which we will encode.
static unsigned int defaultCodepage;