Add Chromium-only Blender WebEngine parity work
This commit is contained in:
30
blender-5.2.0/extern/tracy_profiler/CMakeLists.txt
vendored
Normal file
30
blender-5.2.0/extern/tracy_profiler/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
# SPDX-FileCopyrightText: 2026 Blender Authors
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
include(ExternalProject)
|
||||
|
||||
set(TRACY_INSTALL_DIR ${CMAKE_BINARY_DIR})
|
||||
|
||||
# NOTE: Exceptionally, use tracy_profiler instead of `extern_tracy_profiler` as target name
|
||||
# as this target is meant to be manually built by developers using `make/ninja tracy_profiler`.
|
||||
# See `./README.blender` for more details.
|
||||
ExternalProject_Add(tracy_profiler
|
||||
GIT_REPOSITORY https://github.com/wolfpld/tracy.git
|
||||
|
||||
# NOTE: Keep version in sync with the tracy client dependency in:
|
||||
# `build_files/build_environment/cmake/versions.cmake`
|
||||
GIT_TAG a64b9a20294d59421a2f57aeca3c6383d8c48169
|
||||
PREFIX ${CMAKE_BINARY_DIR}/tracy_profiler
|
||||
SOURCE_SUBDIR profiler
|
||||
EXCLUDE_FROM_ALL TRUE
|
||||
|
||||
INSTALL_DIR ${TRACY_INSTALL_DIR}
|
||||
|
||||
BUILD_COMMAND ${CMAKE_COMMAND} --build . --config $<CONFIG>
|
||||
|
||||
CMAKE_ARGS
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=${TRACY_INSTALL_DIR}
|
||||
-DCMAKE_DEBUG_POSTFIX=_d
|
||||
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
|
||||
)
|
||||
21
blender-5.2.0/extern/tracy_profiler/README.blender
vendored
Normal file
21
blender-5.2.0/extern/tracy_profiler/README.blender
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
Project: Tracy Frame Profiler
|
||||
URL: https://github.com/wolfpld/tracy
|
||||
License: SPDX:BSD-3-Clause
|
||||
Copyright: Copyright (c) 2017-2025, Bartosz Taudul <wolf@nereid.pl>
|
||||
Upstream version: cb84ba76ffd611e6c162040d0828f249
|
||||
Local modifications: None
|
||||
|
||||
This extern target is only used to build the Tracy Profiler server/GUI frontend,
|
||||
not the main Tracy client library, which is built as a pre-compiled library in
|
||||
`build_files/build_environment/cmake/tracy.cmake`.
|
||||
|
||||
This target is not a dependency of Blender nor any other extern target, and is only
|
||||
meant to be manually built by developers. As the Tracy repository does not provide
|
||||
pre-built profiler frontend binaries for all platforms, this target is provided for
|
||||
developers to conveniently build the profiler locally. Note that this target will
|
||||
download required dependency packages (GLFW, ImGui, Capstone, etc...) from the
|
||||
internet via CPM if they aren't available locally system-wide.
|
||||
|
||||
As such, an exception is made by naming the target `tracy_profiler` instead of
|
||||
`extern_tracy_profiler` to allow developers to conveniently use `make/ninja tracy_profiler`
|
||||
to optionally build it if desired.
|
||||
Reference in New Issue
Block a user