File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,17 @@ include(Prebuilt)
4
4
include_guard ()
5
5
add_library ( ll::tracy INTERFACE IMPORTED )
6
6
7
- option (USE_TRACY "Use Tracy profiler." OFF )
7
+ # default Tracy profiling on for test builds, but off for all others
8
+ string (TOLOWER ${VIEWER_CHANNEL} channel_lower )
9
+ if (WINDOWS AND channel_lower MATCHES "^second life test" )
10
+ option (USE_TRACY "Use Tracy profiler." ON )
11
+ else ()
12
+ option (USE_TRACY "Use Tracy profiler." OFF )
13
+ endif ()
8
14
9
15
if (USE_TRACY )
10
- option (USE_TRACY_ON_DEMAND "Use Tracy profiler ." ON )
11
- option (USE_TRACY_LOCAL_ONLY "Use Tracy profiler ." OFF )
16
+ option (USE_TRACY_ON_DEMAND "Use on-demand Tracy profiling ." ON )
17
+ option (USE_TRACY_LOCAL_ONLY "Disallow remote Tracy profiling ." OFF )
12
18
13
19
use_system_binary (tracy )
14
20
use_prebuilt_binary (tracy )
You can’t perform that action at this time.
0 commit comments