mirror of
https://github.com/wolfpld/tracy
synced 2026-01-19 04:52:09 +00:00
Drop tracy_ prefix from meson options.
This commit is contained in:
54
meson.build
54
meson.build
@@ -13,114 +13,114 @@ if get_option('tracy_enable')
|
||||
tracy_common_args += ['-DTRACY_ENABLE']
|
||||
endif
|
||||
|
||||
if get_option('tracy_on_demand')
|
||||
if get_option('on_demand')
|
||||
tracy_common_args += ['-DTRACY_ON_DEMAND']
|
||||
endif
|
||||
|
||||
if get_option('tracy_callstack')
|
||||
if get_option('callstack')
|
||||
tracy_common_args += ['-DTRACY_CALLSTACK']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_callstack')
|
||||
if get_option('no_callstack')
|
||||
tracy_common_args += ['-DTRACY_NO_CALLSTACK']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_callstack_inlines')
|
||||
if get_option('no_callstack_inlines')
|
||||
tracy_common_args += ['-DTRACY_NO_CALLSTACK_INLINES']
|
||||
endif
|
||||
|
||||
if get_option('tracy_only_localhost')
|
||||
if get_option('only_localhost')
|
||||
tracy_common_args += ['-DTRACY_ONLY_LOCALHOST']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_broadcast')
|
||||
if get_option('no_broadcast')
|
||||
tracy_common_args += ['-DTRACY_NO_BROADCAST']
|
||||
endif
|
||||
|
||||
if get_option('tracy_only_ipv4')
|
||||
if get_option('only_ipv4')
|
||||
tracy_common_args += ['-DTRACY_ONLY_IPV4']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_code_transfer')
|
||||
if get_option('no_code_transfer')
|
||||
tracy_common_args += ['-DTRACY_NO_CODE_TRANSFER']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_context_switch')
|
||||
if get_option('no_context_switch')
|
||||
tracy_common_args += ['-DTRACY_NO_CONTEXT_SWITCH']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_exit')
|
||||
if get_option('no_exit')
|
||||
tracy_common_args += ['-DTRACY_NO_EXIT']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_sampling')
|
||||
if get_option('no_sampling')
|
||||
tracy_common_args += ['-DTRACY_NO_SAMPLING']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_verify')
|
||||
if get_option('no_verify')
|
||||
tracy_common_args += ['-DTRACY_NO_VERIFY']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_vsync_capture')
|
||||
if get_option('no_vsync_capture')
|
||||
tracy_common_args += ['-DTRACY_NO_VSYNC_CAPTURE']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_frame_image')
|
||||
if get_option('no_frame_image')
|
||||
tracy_common_args += ['-DTRACY_NO_FRAME_IMAGE']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_system_tracing')
|
||||
if get_option('no_system_tracing')
|
||||
tracy_common_args += ['-DTRACY_NO_SYSTEM_TRACING']
|
||||
endif
|
||||
|
||||
if get_option('tracy_patchable_nopsleds')
|
||||
if get_option('patchable_nopsleds')
|
||||
tracy_common_args += ['-DTRACY_PATCHABLE_NOPSLEDS']
|
||||
endif
|
||||
|
||||
if get_option('tracy_delayed_init')
|
||||
if get_option('delayed_init')
|
||||
tracy_common_args += ['-DTRACY_DELAYED_INIT']
|
||||
endif
|
||||
|
||||
if get_option('tracy_manual_lifetime')
|
||||
if get_option('manual_lifetime')
|
||||
tracy_common_args += ['-DTRACY_MANUAL_LIFETIME']
|
||||
endif
|
||||
|
||||
if get_option('tracy_fibers')
|
||||
if get_option('fibers')
|
||||
tracy_common_args += ['-DTRACY_FIBERS']
|
||||
endif
|
||||
|
||||
if get_option('tracy_timer_fallback')
|
||||
if get_option('timer_fallback')
|
||||
tracy_common_args += ['-DTRACY_TIMER_FALLBACK']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_crash_handler')
|
||||
if get_option('no_crash_handler')
|
||||
tracy_common_args += ['-DTRACY_NO_CRASH_HANDLER']
|
||||
endif
|
||||
|
||||
if get_option('tracy_libunwind_backtrace')
|
||||
if get_option('libunwind_backtrace')
|
||||
tracy_common_args += ['-DTRACY_LIBUNWIND_BACKTRACE']
|
||||
tracy_public_deps += dependency('libunwind')
|
||||
endif
|
||||
|
||||
if get_option('tracy_symbol_offline_resolve')
|
||||
if get_option('symbol_offline_resolve')
|
||||
tracy_compile_args += ['-DTRACY_SYMBOL_OFFLINE_RESOLVE']
|
||||
endif
|
||||
|
||||
if get_option('tracy_libbacktrace_elf_dynload_support')
|
||||
if get_option('libbacktrace_elf_dynload_support')
|
||||
tracy_compile_args += ['-DTRACY_LIBBACKTRACE_ELF_DYNLOAD_SUPPORT']
|
||||
endif
|
||||
|
||||
if get_option('tracy_verbose')
|
||||
if get_option('verbose')
|
||||
tracy_common_args += ['-DTRACY_VERBOSE']
|
||||
endif
|
||||
|
||||
if get_option('tracy_debuginfod')
|
||||
if get_option('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')
|
||||
if not tracy_shared_libs and get_option('shared_libs')
|
||||
warning('tracy_shared_libs is set to true, but default_library is set to static. Building static library.')
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user