Skip to content

Commit

Permalink
Build: Add ENABLE_GSRUNNER option to build GSRunner via CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastRar authored and F0bes committed Aug 5, 2024
1 parent 2320330 commit e292c09
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ if(ENABLE_TESTS)
add_subdirectory(tests/ctest)
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)
message(WARNING "
Expand Down
1 change: 1 addition & 0 deletions cmake/BuildParameters.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set(PCSX2_DEFS "")
# Misc option
#-------------------------------------------------------------------------------
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(USE_VTUNE "Plug VTUNE to profile GS JIT.")

Expand Down

0 comments on commit e292c09

Please sign in to comment.