mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-26 05:50:05 +00:00
Improved options for Visual Studio
This commit is contained in:
parent
d3f8878cec
commit
958818d438
@ -44,7 +44,11 @@ option(CITRA_USE_BUNDLED_QT "Download bundled Qt binaries" OFF)
|
|||||||
option(ENABLE_HIGH_OP "Enable highest optimizations possible" OFF)
|
option(ENABLE_HIGH_OP "Enable highest optimizations possible" OFF)
|
||||||
|
|
||||||
set(CPU_TARGET "base" CACHE STRING "CPU minimum for this build, use base as default")
|
set(CPU_TARGET "base" CACHE STRING "CPU minimum for this build, use base as default")
|
||||||
set(CPU_TYPES "base;pentium4;haswell;skylake;modern")
|
if (MSVC)
|
||||||
|
set(CPU_TYPES "base;modern intel;modern amd;modern")
|
||||||
|
else()
|
||||||
|
set(CPU_TYPES "base;pentium4;haswell;skylake;modern")
|
||||||
|
endif()
|
||||||
set_property(CACHE CPU_TARGET PROPERTY STRINGS ${CPU_TYPES})
|
set_property(CACHE CPU_TARGET PROPERTY STRINGS ${CPU_TYPES})
|
||||||
|
|
||||||
set(CC_OP_LEVEL "")
|
set(CC_OP_LEVEL "")
|
||||||
|
Loading…
Reference in New Issue
Block a user