2
0
mirror of https://github.com/wolfpld/tracy synced 2026-01-19 04:52:09 +00:00

Add verbose and debuginfod to meson options.

This commit is contained in:
Bartosz Taudul
2024-02-05 02:12:31 +01:00
parent 5461427493
commit d46ffb4e9f
2 changed files with 11 additions and 0 deletions

View File

@@ -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.')