mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
fix deprecation tag in option and reverse warning check
This commit is contained in:
parent
a3774039f6
commit
67b454286f
@ -95,8 +95,8 @@ if get_option('tracy_no_crash_handler')
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
tracy_shared_libs = get_option('default_library') == 'shared'
|
tracy_shared_libs = get_option('default_library') == 'shared'
|
||||||
if tracy_shared_libs and not get_option('tracy_shared_libs')
|
if not tracy_shared_libs and get_option('tracy_shared_libs')
|
||||||
warning('tracy_shared_libs is set to false, but default_library is set to shared. Building shared library.')
|
warning('tracy_shared_libs is set to true, but default_library is set to static. Building static library.')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if tracy_shared_libs
|
if tracy_shared_libs
|
||||||
|
@ -19,5 +19,5 @@ option('tracy_timer_fallback', type : 'boolean', value : false, description : 'U
|
|||||||
option('tracy_delayed_init', type : 'boolean', value : false, description : 'Enable delayed initialization of the library (init on first call)')
|
option('tracy_delayed_init', type : 'boolean', value : false, description : 'Enable delayed initialization of the library (init on first call)')
|
||||||
option('tracy_manual_lifetime', type : 'boolean', value : false, description : 'Enable the manual lifetime management of the profile')
|
option('tracy_manual_lifetime', type : 'boolean', value : false, description : 'Enable the manual lifetime management of the profile')
|
||||||
option('tracy_fibers', type : 'boolean', value : false, description : 'Enable fibers support')
|
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 : 'use default_library=shared instead')
|
option('tracy_shared_libs', type : 'boolean', value : false, description : 'Builds Tracy as a shared object', deprecated : 'default_library')
|
||||||
option('tracy_no_crash_handler', type : 'boolean', value : false, description : 'Disable crash handling')
|
option('tracy_no_crash_handler', type : 'boolean', value : false, description : 'Disable crash handling')
|
||||||
|
Loading…
Reference in New Issue
Block a user