diff options
| author | 2021-03-05 20:09:37 -0500 | |
|---|---|---|
| committer | 2021-03-05 20:09:37 -0500 | |
| commit | 97415ad07ab46934b9d524e3dacce7712b8a7833 (patch) | |
| tree | 6b91a716380722c521e187e6d435146f1bd58530 /src | |
| parent | Merge pull request #6039 from yuzu-emu/revert-6006-fiber-unique-ptr (diff) | |
| parent | CMakeLists: Add /utf-8 compile option for MSVC (diff) | |
| download | yuzu-97415ad07ab46934b9d524e3dacce7712b8a7833.tar.gz yuzu-97415ad07ab46934b9d524e3dacce7712b8a7833.tar.xz yuzu-97415ad07ab46934b9d524e3dacce7712b8a7833.zip | |
Merge pull request #6029 from Morph1984/compile-utf8
CMakeLists: Add /utf-8 compile option for MSVC
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1cfd3bbc9..8bd7e5f72 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -27,6 +27,7 @@ if (MSVC) | |||
| 27 | # /Zo - Enhanced debug info for optimized builds | 27 | # /Zo - Enhanced debug info for optimized builds |
| 28 | # /permissive- - Enables stricter C++ standards conformance checks | 28 | # /permissive- - Enables stricter C++ standards conformance checks |
| 29 | # /EHsc - C++-only exception handling semantics | 29 | # /EHsc - C++-only exception handling semantics |
| 30 | # /utf-8 - Set source and execution character sets to UTF-8 | ||
| 30 | # /volatile:iso - Use strict standards-compliant volatile semantics. | 31 | # /volatile:iso - Use strict standards-compliant volatile semantics. |
| 31 | # /Zc:externConstexpr - Allow extern constexpr variables to have external linkage, like the standard mandates | 32 | # /Zc:externConstexpr - Allow extern constexpr variables to have external linkage, like the standard mandates |
| 32 | # /Zc:inline - Let codegen omit inline functions in object files | 33 | # /Zc:inline - Let codegen omit inline functions in object files |
| @@ -38,6 +39,7 @@ if (MSVC) | |||
| 38 | /permissive- | 39 | /permissive- |
| 39 | /EHsc | 40 | /EHsc |
| 40 | /std:c++latest | 41 | /std:c++latest |
| 42 | /utf-8 | ||
| 41 | /volatile:iso | 43 | /volatile:iso |
| 42 | /Zc:externConstexpr | 44 | /Zc:externConstexpr |
| 43 | /Zc:inline | 45 | /Zc:inline |