mirror of
https://github.com/PCSX2/pcsx2.git
synced 2024-10-06 23:13:25 +00:00
Build: Add ENABLE_GSRUNNER option to build GSRunner via CMake
This commit is contained in:
parent
2320330b6a
commit
e292c0986f
@ -60,6 +60,14 @@ if(ENABLE_TESTS)
|
|||||||
add_subdirectory(tests/ctest)
|
add_subdirectory(tests/ctest)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# gsrunner
|
||||||
|
if(ENABLE_GSRUNNER)
|
||||||
|
if (NOT WIN32)
|
||||||
|
message(WARNING "GSRunner is only supported on Windows and may not build on your system")
|
||||||
|
endif()
|
||||||
|
add_subdirectory(pcsx2-gsrunner)
|
||||||
|
endif()
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
if(NOT IS_SUPPORTED_COMPILER)
|
if(NOT IS_SUPPORTED_COMPILER)
|
||||||
message(WARNING "
|
message(WARNING "
|
||||||
|
@ -5,6 +5,7 @@ set(PCSX2_DEFS "")
|
|||||||
# Misc option
|
# Misc option
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
option(ENABLE_TESTS "Enables building the unit tests" ON)
|
option(ENABLE_TESTS "Enables building the unit tests" ON)
|
||||||
|
option(ENABLE_GSRUNNER "Enables building the GSRunner" OFF)
|
||||||
option(LTO_PCSX2_CORE "Enable LTO/IPO/LTCG on the subset of pcsx2 that benefits most from it but not anything else")
|
option(LTO_PCSX2_CORE "Enable LTO/IPO/LTCG on the subset of pcsx2 that benefits most from it but not anything else")
|
||||||
option(USE_VTUNE "Plug VTUNE to profile GS JIT.")
|
option(USE_VTUNE "Plug VTUNE to profile GS JIT.")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user