mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-28 06:13:18 +00:00
build: exclude Tracy from release builds
This commit is contained in:
parent
8abc43a03d
commit
2dc5755799
3 changed files with 17 additions and 1 deletions
6
externals/CMakeLists.txt
vendored
6
externals/CMakeLists.txt
vendored
|
@ -189,7 +189,11 @@ add_library(Dear_ImGui
|
|||
target_include_directories(Dear_ImGui INTERFACE dear_imgui/)
|
||||
|
||||
# Tracy
|
||||
option(TRACY_ENABLE "" ON)
|
||||
if (CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
option(TRACY_ENABLE "" OFF)
|
||||
else()
|
||||
option(TRACY_ENABLE "" ON)
|
||||
endif()
|
||||
option(TRACY_NO_CRASH_HANDLER "" ON) # Otherwise texture cache exceptions will be treaten as a crash
|
||||
option(TRACY_ON_DEMAND "" ON)
|
||||
option(TRACY_NO_FRAME_IMAGE "" ON)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue