Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ The following build options can be used when running CMake

* OVERTE_RENDERING_BACKEND
* OVERTE_DISABLE_QML
* OVERTE_USE_TRACY - This builds with Tracy profiler support. Make sure you are building the Tracy client from master to get a similar version as the one used here.

### Devices

Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ set(OVERTE_BUILD_TOOLS ON CACHE BOOL "Build tools. Includes Oven, which is used
set(OVERTE_BUILD_INSTALLER ON CACHE BOOL "Build installer.")
set(OVERTE_DISABLE_QML OFF CACHE BOOL "Build without QML. (For graphics debugging.)")
set(OVERTE_DOWNLOAD_SERVERLESS_CONTENT OFF CACHE BOOL "Download and setup default serverless content beside Interface.")
set(OVERTE_USE_TRACY OFF CACHE BOOL "Build with support for the Tracy CPU/GPU/memory profiler.")
# use OpenGL ES on Linux aarch64 and Android.
if ((CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64") OR ANDROID)
set(OVERTE_RENDERING_BACKEND "GLES" CACHE STRING "Which rendering backend to compile with. Valid options are: 'OpenGL', 'GLES', and 'Vulkan'.")
Expand Down
1 change: 1 addition & 0 deletions assignment-client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ link_hifi_libraries(
include_hifi_library_headers(procedural)
include_hifi_library_headers(entities)

add_tracy()
add_crashpad()
target_breakpad()

Expand Down
30 changes: 30 additions & 0 deletions cmake/macros/AddTracy.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#
# AddTracy.cmake
# cmake/macros
#
# Created by Julian Groß on 2026-05-09.
# Copyright 2026 Overte e.V.
#
# Distributed under the Apache License, Version 2.0.
# See the accompanying file LICENSE or http:#www.apache.org/licenses/LICENSE-2.0.html
#

macro(ADD_TRACY)
if(OVERTE_USE_TRACY)
option(TRACY_ENABLE "Enable the Tracy CPU/GPU/memory profiler." ON)
option(TRACY_ON_DEMAND "" ON)

include(FetchContent)

FetchContent_Declare(
tracy
GIT_REPOSITORY https://github.com/wolfpld/tracy.git
GIT_TAG master
GIT_SHALLOW TRUE
GIT_PROGRESS TRUE
)
FetchContent_MakeAvailable(tracy)

target_link_libraries(${TARGET_NAME} Tracy::TracyClient)
endif()
endmacro()
1 change: 1 addition & 0 deletions domain-server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ target_zlib()
target_quazip()
target_openssl()

add_tracy()
add_crashpad()
target_breakpad()

Expand Down
1 change: 1 addition & 0 deletions interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ target_bullet()

set(OpenGL_GL_PREFERENCE "GLVND")
target_opengl()
add_tracy()
add_crashpad()
target_breakpad()
target_json()
Expand Down
1 change: 1 addition & 0 deletions tools/oven/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ include_hifi_library_headers(script-engine)

setup_memory_debugger()
setup_thread_debugger()
add_tracy()
add_crashpad()
target_breakpad()

Expand Down
Loading