Skip to content
Snippets Groups Projects
Commit 886a87e5 authored by Moses Turner's avatar Moses Turner
Browse files

meson: add option for tracing

parent e8b4059d
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,12 @@ option('service',
description: 'Enable separate service module for OpenXR runtime'
)
option('tracing',
type: 'boolean',
value: false,
description: 'Enable Perfetto/Percetto tracing'
)
option('layer_depth',
type: 'boolean',
value: true,
......
......@@ -124,6 +124,10 @@ if get_option('service')
build_conf.set('XRT_FEATURE_SERVICE', true)
endif
if get_option('tracing')
build_conf.set('XRT_FEATURE_TRACING', true)
endif
if get_option('color_log')
build_conf.set('XRT_FEATURE_COLOR_LOG', true)
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment