From 91671ab21a42d1210051647bd7e0cf5db40a27e5 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 6 Oct 2023 10:56:35 +0400 Subject: [PATCH] Fix meson nopsleds option It was missing from meson_options.txt breaking the build, and had an outdated name. --- meson.build | 2 +- meson_options.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index eee37817..2c32aee0 100644 --- a/meson.build +++ b/meson.build @@ -64,7 +64,7 @@ if get_option('tracy_no_system_tracing') add_project_arguments('-DTRACY_NO_SYSTEM_TRACING', language : 'cpp') endif -if get_option('tracy_no_extra_nopsleds') +if get_option('tracy_patchable_nopsleds') add_project_arguments('-DTRACY_PATCHABLE_NOPSLEDS', language : 'cpp') endif diff --git a/meson_options.txt b/meson_options.txt index ecf6ea1e..3fad341c 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -14,6 +14,7 @@ option('tracy_no_verify', type : 'boolean', value : false, description : 'Disabl option('tracy_no_vsync_capture', type : 'boolean', value : false, description : 'Disable capture of hardware Vsync events') option('tracy_no_frame_image', type : 'boolean', value : false, description : 'Disable the frame image support and its thread') option('tracy_no_system_tracing', type : 'boolean', value : false, description : 'Disable systrace sampling') +option('tracy_patchable_nopsleds', type : 'boolean', value : false, description : 'Enable nopsleds for efficient patching by system-level tools (e.g. rr)') option('tracy_timer_fallback', type : 'boolean', value : false, description : 'Use lower resolution timers') option('tracy_delayed_init', type : 'boolean', value : false, description : 'Enable delayed initialization of the library (init on first call)') option('tracy_manual_lifetime', type : 'boolean', value : false, description : 'Enable the manual lifetime management of the profile')