Improved options for Visual Studio
This commit is contained in:
@@ -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 "")
|
||||||
|
|||||||
Reference in New Issue
Block a user