summaryrefslogtreecommitdiff
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar lat9nq2023-06-12 17:05:30 -0400
committerGravatar lat9nq2023-07-21 10:56:54 -0400
commit11e7e1b8cec5a665bdc6c9e702f83ad6ea35dd6b (patch)
treec308cfcddc0ffd20561114559329411242e31bb5 /src/common/CMakeLists.txt
parentsettings_setting: Fix errors (diff)
downloadyuzu-11e7e1b8cec5a665bdc6c9e702f83ad6ea35dd6b.tar.gz
yuzu-11e7e1b8cec5a665bdc6c9e702f83ad6ea35dd6b.tar.xz
yuzu-11e7e1b8cec5a665bdc6c9e702f83ad6ea35dd6b.zip
settings: Move some simple data to BasicSetting
Reduces the need for the compiler to duplicate this code, by about 100KB executable size.
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r--src/common/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 3c8368bb2..09e7e673e 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -110,6 +110,7 @@ add_library(common STATIC
110 scratch_buffer.h 110 scratch_buffer.h
111 settings.cpp 111 settings.cpp
112 settings.h 112 settings.h
113 settings_common.cpp
113 settings_common.h 114 settings_common.h
114 settings_enums.h 115 settings_enums.h
115 settings_input.cpp 116 settings_input.cpp
@@ -199,6 +200,7 @@ if (MSVC)
199else() 200else()
200 target_compile_options(common PRIVATE 201 target_compile_options(common PRIVATE
201 $<$<CXX_COMPILER_ID:Clang>:-fsized-deallocation> 202 $<$<CXX_COMPILER_ID:Clang>:-fsized-deallocation>
203 $<$<CXX_COMPILER_ID:Clang>:-Werror=unreachable-code-aggressive>
202 ) 204 )
203endif() 205endif()
204 206