diff options
author | Gustavo Varo <gustavo.varo@gmail.com> | 2021-06-16 22:05:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-06-17 17:44:22 (GMT) |
commit | 9ba99a1203efea8e5c3977514b22f6204507f17b (patch) | |
tree | 90f59ebe4cc4cda70077096ab9959ffb1edc1378 /Source/cmGlobalVisualStudio10Generator.h | |
parent | b0f830ced6552b055bc73de470a4631aa3a14430 (diff) | |
download | CMake-9ba99a1203efea8e5c3977514b22f6204507f17b.zip CMake-9ba99a1203efea8e5c3977514b22f6204507f17b.tar.gz CMake-9ba99a1203efea8e5c3977514b22f6204507f17b.tar.bz2 |
VS: Add support for Utf8Enconding when using VS 16.10+
On VS 16.10 Preview 2 or above, generate `UseUtf8Encoding`
instead of `StdOutEncoding=UTF-8` in `.vcxproj` files.
Fixes: #22032
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h index 646dbe2..b7ae1ee 100644 --- a/Source/cmGlobalVisualStudio10Generator.h +++ b/Source/cmGlobalVisualStudio10Generator.h @@ -138,6 +138,8 @@ public: virtual bool IsStdOutEncodingSupported() const { return false; } + virtual bool IsUtf8EncodingSupported() const { return false; } + static std::string GetInstalledNsightTegraVersion(); /** Return the first two components of CMAKE_SYSTEM_VERSION. */ |