diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-07-06 02:30:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-06 02:30:38 +0200 |
commit | 770611fdf39f274ee9ccde9875e86cfeb79a3f6f (patch) | |
tree | a580077f3b8f5ebbba6ee58ba594192f68ebdeea /src | |
parent | Merge pull request #8532 from liamwhite/fiber-supplements (diff) | |
parent | CI: unbreak ADO after GHA changes (diff) | |
download | yuzu-770611fdf39f274ee9ccde9875e86cfeb79a3f6f.tar yuzu-770611fdf39f274ee9ccde9875e86cfeb79a3f6f.tar.gz yuzu-770611fdf39f274ee9ccde9875e86cfeb79a3f6f.tar.bz2 yuzu-770611fdf39f274ee9ccde9875e86cfeb79a3f6f.tar.lz yuzu-770611fdf39f274ee9ccde9875e86cfeb79a3f6f.tar.xz yuzu-770611fdf39f274ee9ccde9875e86cfeb79a3f6f.tar.zst yuzu-770611fdf39f274ee9ccde9875e86cfeb79a3f6f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 39d038493..39ae573b2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -36,7 +36,6 @@ if (MSVC) # /GT - Supports fiber safety for data allocated using static thread-local storage add_compile_options( /MP - /Zi /Zm200 /Zo /permissive- @@ -79,6 +78,13 @@ if (MSVC) /we5245 # 'function': unreferenced function with internal linkage has been removed ) + if (USE_CCACHE) + # when caching, we need to use /Z7 to downgrade debug info to use an older but more cachable format + add_compile_options(/Z7) + else() + add_compile_options(/Zi) + endif() + if (ARCHITECTURE_x86_64) add_compile_options(/QIntel-jcc-erratum) endif() |