Drop shared_libs meson option.

This commit is contained in:
Bartosz Taudul 2024-02-11 17:22:38 +01:00
parent 783bc7c939
commit 8731f3bc73
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
3 changed files with 4 additions and 4 deletions

4
NEWS
View File

@ -75,6 +75,10 @@ vx.xx.x (xxxx-xx-xx)
ignores global constructors that have side effects.
- ZoneText and ZoneName macros now have a printf-like variant, denoted with
a 'F' postfix.
- The 'tracy_shared_libs' Meson option was removed. Use interface provided
by Meson to set the library type instead.
- Dropped the 'tracy_' prefix from Meson options. The `tracy_enable` option
remains as it was, as it can be inherited from parent projects.
v0.10.0 (2023-10-16)

View File

@ -120,9 +120,6 @@ if get_option('debuginfod')
endif
tracy_shared_libs = get_option('default_library') == 'shared'
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
if tracy_shared_libs
tracy_compile_args += ['-DTRACY_EXPORTS']

View File

@ -22,7 +22,6 @@ option('libbacktrace_elf_dynload_support', type : 'boolean', value : false, desc
option('delayed_init', type : 'boolean', value : false, description : 'Enable delayed initialization of the library (init on first call)')
option('manual_lifetime', type : 'boolean', value : false, description : 'Enable the manual lifetime management of the profile')
option('fibers', type : 'boolean', value : false, description : 'Enable fibers support')
option('shared_libs', type : 'boolean', value : false, description : 'Builds Tracy as a shared object (deprecated in favour of default_library=shared)', deprecated : true)
option('no_crash_handler', type : 'boolean', value : false, description : 'Disable crash handling')
option('verbose', type : 'boolean', value : false, description : 'Enable verbose logging')
option('debuginfod', type : 'boolean', value : false, description : 'Enable debuginfod support')