mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Add verbose and debuginfod to meson options.
This commit is contained in:
parent
5461427493
commit
d46ffb4e9f
@ -110,6 +110,15 @@ if get_option('tracy_libbacktrace_elf_dynload_support')
|
||||
tracy_compile_args += ['-DTRACY_LIBBACKTRACE_ELF_DYNLOAD_SUPPORT']
|
||||
endif
|
||||
|
||||
if get_option('tracy_verbose')
|
||||
tracy_common_args += ['-DTRACY_VERBOSE']
|
||||
endif
|
||||
|
||||
if get_option('tracy_debuginfod')
|
||||
tracy_common_args += ['-DTRACY_DEBUGINFOD']
|
||||
tracy_public_deps += dependency('libdebuginfod')
|
||||
endif
|
||||
|
||||
tracy_shared_libs = get_option('default_library') == 'shared'
|
||||
if not tracy_shared_libs and get_option('tracy_shared_libs')
|
||||
warning('tracy_shared_libs is set to true, but default_library is set to static. Building static library.')
|
||||
|
@ -24,3 +24,5 @@ option('tracy_manual_lifetime', type : 'boolean', value : false, description : '
|
||||
option('tracy_fibers', type : 'boolean', value : false, description : 'Enable fibers support')
|
||||
option('tracy_shared_libs', type : 'boolean', value : false, description : 'Builds Tracy as a shared object (deprecated in favour of default_library=shared)', deprecated : true)
|
||||
option('tracy_no_crash_handler', type : 'boolean', value : false, description : 'Disable crash handling')
|
||||
option('tracy_verbose', type : 'boolean', value : false, description : 'Enable verbose logging')
|
||||
option('tracy_debuginfod', type : 'boolean', value : false, description : 'Enable debuginfod support')
|
Loading…
x
Reference in New Issue
Block a user