diff options
| author | lizzie <lizzie@eden-emu.dev> | 2026-05-24 01:05:07 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-05-24 01:05:07 +0200 |
| commit | d9067d85af1caf78da78f77e7ae20125212530ef (patch) | |
| tree | 7c91373b15c091af9fb4768658c28a1931548013 /CMakeLists.txt | |
| parent | 2aa2ac7d9ac8e47f59a2475384c3afee9d5c60bc (diff) | |
[tools] add separate maxwell disassembler, ir dumper, and spirv translator (#3453)
why not?
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3453
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f84dd539c..757943ca64 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,6 +75,8 @@ cmake_dependent_option(YUZU_USE_QT_WEB_ENGINE "Use QtWebEngine for web applet im set(YUZU_QT_MIRROR "" CACHE STRING "What mirror to use for downloading the bundled Qt libraries") cmake_dependent_option(YUZU_USE_BUNDLED_QT "Download bundled Qt binaries" "${MSVC}" "ENABLE_QT" OFF) +option(ENABLE_DEBUG_TOOLS "Enable debugging tools (maxwell disassembler, SPIRV translator, etc)" OFF) + # non-linux bundled qt are static if (YUZU_USE_BUNDLED_QT AND (APPLE OR NOT UNIX)) set(YUZU_STATIC_BUILD ON) @@ -701,6 +703,12 @@ endif() add_subdirectory(src) +if (ENABLE_DEBUG_TOOLS) + add_subdirectory(tools/maxwell-disas) + add_subdirectory(tools/maxwell-spirv) + add_subdirectory(tools/maxwell-ir) +endif() + # Set yuzu project or yuzu-cmd project as default StartUp Project in Visual Studio depending on whether QT is enabled or not if(ENABLE_QT) set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT yuzu) |
