diff --git a/CMakeLists.txt b/CMakeLists.txt index 579335c9ca..62ca459c1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,6 +82,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)" ON) + # non-linux bundled qt are static if (YUZU_USE_BUNDLED_QT AND (APPLE OR NOT UNIX)) set(YUZU_STATIC_BUILD ON) @@ -779,7 +781,7 @@ endif() add_subdirectory(src) -if (TRUE OR ENABLE_TEGRA_TOOLS) +if (ENABLE_DEBUG_TOOLS) add_subdirectory(tools/maxwell-disas) add_subdirectory(tools/maxwell-spirv) endif()