diff options
author | bunnei <bunneidev@gmail.com> | 2021-12-07 04:52:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-07 04:52:27 +0100 |
commit | 204d198d166c215742ae819e14eb193c977a8ea0 (patch) | |
tree | 24bfefb5c77a962163e8d8ef6d2cafd7c52e9422 | |
parent | Merge pull request #7529 from german77/sdl2.0.18 (diff) | |
parent | CMakeLists: Specify /Zm200 when compiling in MSVC (diff) | |
download | yuzu-204d198d166c215742ae819e14eb193c977a8ea0.tar yuzu-204d198d166c215742ae819e14eb193c977a8ea0.tar.gz yuzu-204d198d166c215742ae819e14eb193c977a8ea0.tar.bz2 yuzu-204d198d166c215742ae819e14eb193c977a8ea0.tar.lz yuzu-204d198d166c215742ae819e14eb193c977a8ea0.tar.xz yuzu-204d198d166c215742ae819e14eb193c977a8ea0.tar.zst yuzu-204d198d166c215742ae819e14eb193c977a8ea0.zip |
-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 63dd9febf..19d16147d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -24,6 +24,7 @@ if (MSVC) # /W3 - Level 3 warnings # /MP - Multi-threaded compilation # /Zi - Output debugging information + # /Zm - Specifies the precompiled header memory allocation limit # /Zo - Enhanced debug info for optimized builds # /permissive- - Enables stricter C++ standards conformance checks # /EHsc - C++-only exception handling semantics @@ -36,6 +37,7 @@ if (MSVC) add_compile_options( /MP /Zi + /Zm200 /Zo /permissive- /EHsc |