summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Mat M2019-05-14 06:34:53 -0400
committerGravatar GitHub2019-05-14 06:34:53 -0400
commit8b933e77cd385abe69298dfca6acabd13888aa0a (patch)
tree14491db59a25529143e9126f63ea6db51e80537f /src
parentMerge pull request #2450 from lioncash/warn-level (diff)
parentCMakeLists: Specify /volatile:iso for MSVC (diff)
downloadyuzu-8b933e77cd385abe69298dfca6acabd13888aa0a.tar.gz
yuzu-8b933e77cd385abe69298dfca6acabd13888aa0a.tar.xz
yuzu-8b933e77cd385abe69298dfca6acabd13888aa0a.zip
Merge pull request #2460 from lioncash/volatile
CMakeLists: Specify /volatile:iso for MSVC
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3f781a547..04018233f 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 # /volatile:iso - Use strict standards-compliant volatile semantics.
30 # /Zc:externConstexpr - Allow extern constexpr variables to have external linkage, like the standard mandates 31 # /Zc:externConstexpr - Allow extern constexpr variables to have external linkage, like the standard mandates
31 # /Zc:inline - Let codegen omit inline functions in object files 32 # /Zc:inline - Let codegen omit inline functions in object files
32 # /Zc:throwingNew - Let codegen assume `operator new` (without std::nothrow) will never return null 33 # /Zc:throwingNew - Let codegen assume `operator new` (without std::nothrow) will never return null
@@ -38,6 +39,7 @@ if (MSVC)
38 /permissive- 39 /permissive-
39 /EHsc 40 /EHsc
40 /std:c++latest 41 /std:c++latest
42 /volatile:iso
41 /Zc:externConstexpr 43 /Zc:externConstexpr
42 /Zc:inline 44 /Zc:inline
43 /Zc:throwingNew 45 /Zc:throwingNew