mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-14 04:01:48 +00:00
Disable ImGui debug tools in non-debug builds.
This commit is contained in:
parent
de2a9fd18f
commit
25899fef73
@ -159,6 +159,10 @@ add_library(TracyImGui STATIC ${IMGUI_SOURCES})
|
|||||||
target_include_directories(TracyImGui PUBLIC ${IMGUI_DIR})
|
target_include_directories(TracyImGui PUBLIC ${IMGUI_DIR})
|
||||||
target_link_libraries(TracyImGui PUBLIC TracyFreetype)
|
target_link_libraries(TracyImGui PUBLIC TracyFreetype)
|
||||||
|
|
||||||
|
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||||
|
target_compile_definitions(TracyImGui PUBLIC "IMGUI_DISABLE_DEBUG_TOOLS")
|
||||||
|
endif()
|
||||||
|
|
||||||
# NFD
|
# NFD
|
||||||
|
|
||||||
if (NOT NO_FILESELECTOR AND NOT EMSCRIPTEN)
|
if (NOT NO_FILESELECTOR AND NOT EMSCRIPTEN)
|
||||||
|
Loading…
Reference in New Issue
Block a user