Skip to content

Commit

Permalink
Migrate to tracy profiler from Microprofile
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelthegreat authored and Gamer64ytb committed Jul 25, 2024
1 parent c3a186b commit 03e2916
Show file tree
Hide file tree
Showing 123 changed files with 44,965 additions and 11,472 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ CMAKE_DEPENDENT_OPTION(ENABLE_SOFTWARE_RENDERER "Enables the software renderer"
CMAKE_DEPENDENT_OPTION(ENABLE_OPENGL "Enables the OpenGL renderer" ON "NOT APPLE" OFF)
option(ENABLE_VULKAN "Enables the Vulkan renderer" ON)

option(ENABLE_PROFILING "Enables integration with the Tracy profiler" ON)
option(USE_DISCORD_PRESENCE "Enables Discord Rich Presence" OFF)

# Compile options
Expand Down
12 changes: 8 additions & 4 deletions externals/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,6 @@ else()
add_subdirectory(inih)
endif()

# MicroProfile
add_library(microprofile INTERFACE)
target_include_directories(microprofile SYSTEM INTERFACE ./microprofile)

# Nihstro
add_library(nihstro-headers INTERFACE)
target_include_directories(nihstro-headers SYSTEM INTERFACE ./nihstro/include)
Expand Down Expand Up @@ -433,3 +429,11 @@ if (ENABLE_VULKAN)
add_subdirectory(libadrenotools)
endif()
endif()

# Tracy
if (ENABLE_PROFILING)
add_subdirectory(tracy)
if(WIN32)
target_link_libraries(tracy PRIVATE dbghelp)
endif()
endif()
7 changes: 0 additions & 7 deletions externals/microprofile/README.md

This file was deleted.

Loading

0 comments on commit 03e2916

Please sign in to comment.