settings: Move some simple data to BasicSetting

Reduces the need for the compiler to duplicate this code, by about
100KB executable size.
This commit is contained in:
lat9nq 2023-06-12 17:05:30 -04:00
parent 4903f40efe
commit 11e7e1b8ce
5 changed files with 129 additions and 108 deletions

View file

@ -110,6 +110,7 @@ add_library(common STATIC
scratch_buffer.h
settings.cpp
settings.h
settings_common.cpp
settings_common.h
settings_enums.h
settings_input.cpp
@ -199,6 +200,7 @@ if (MSVC)
else()
target_compile_options(common PRIVATE
$<$<CXX_COMPILER_ID:Clang>:-fsized-deallocation>
$<$<CXX_COMPILER_ID:Clang>:-Werror=unreachable-code-aggressive>
)
endif()