From 2ed473b3b8e28485e6a14a49c7e0e4133eb02eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C4=81vis=20Mos=C4=81ns?= Date: Wed, 23 Nov 2016 14:11:40 +0200 Subject: execute_process: Add ENCODING option for Windows child process output Different applications can use different output encodings. --- Source/cmProcessOutput.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Source/cmProcessOutput.h') diff --git a/Source/cmProcessOutput.h b/Source/cmProcessOutput.h index 6a4e7d5908..6046f57260 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; -- cgit v1.2.1