mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 08:54:34 +00:00
Merge pull request #364 from Juice-Labs/meson-support
Adding tracy_no_sys_trace to enable MinGW builds which have an older version of envtprov.h
This commit is contained in:
commit
ccf35eb24a
@ -49,6 +49,7 @@ set_option(TRACY_NO_SAMPLING "Disable call stack sampling" OFF)
|
|||||||
set_option(TRACY_NO_VERIFY "Disable zone validation for C API" OFF)
|
set_option(TRACY_NO_VERIFY "Disable zone validation for C API" OFF)
|
||||||
set_option(TRACY_NO_VSYNC_CAPTURE "Disable capture of hardware Vsync events" OFF)
|
set_option(TRACY_NO_VSYNC_CAPTURE "Disable capture of hardware Vsync events" OFF)
|
||||||
set_option(TRACY_NO_FRAME_IMAGE "Disable the frame image support and its thread" OFF)
|
set_option(TRACY_NO_FRAME_IMAGE "Disable the frame image support and its thread" OFF)
|
||||||
|
set_option(TRACY_NO_SYS_TRACE "Disable systrace sampling" OFF)
|
||||||
set_option(TRACY_DELAYED_INIT "Enable delayed initialization of the library (init on first call)" OFF)
|
set_option(TRACY_DELAYED_INIT "Enable delayed initialization of the library (init on first call)" OFF)
|
||||||
set_option(TRACY_MANUAL_LIFETIME "Enable the manual lifetime management of the profile" OFF)
|
set_option(TRACY_MANUAL_LIFETIME "Enable the manual lifetime management of the profile" OFF)
|
||||||
set_option(TRACY_FIBERS "Enable fibers support" OFF)
|
set_option(TRACY_FIBERS "Enable fibers support" OFF)
|
||||||
|
@ -60,6 +60,10 @@ if get_option('tracy_no_frame_image')
|
|||||||
add_project_arguments('-DTRACY_NO_FRAME_IMAGE', language : 'cpp')
|
add_project_arguments('-DTRACY_NO_FRAME_IMAGE', language : 'cpp')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if get_option('tracy_no_sys_trace')
|
||||||
|
add_project_arguments('-DTRACY_NO_SYSTEM_TRACING', language : 'cpp')
|
||||||
|
endif
|
||||||
|
|
||||||
if get_option('tracy_delayed_init')
|
if get_option('tracy_delayed_init')
|
||||||
add_project_arguments('-DTRACY_DELAYED_INIT', language : 'cpp')
|
add_project_arguments('-DTRACY_DELAYED_INIT', language : 'cpp')
|
||||||
endif
|
endif
|
||||||
|
@ -12,7 +12,8 @@ option('tracy_no_exit', type : 'boolean', value : false, description : 'Client e
|
|||||||
option('tracy_no_sampling', type : 'boolean', value : false, description : 'Disable call stack sampling')
|
option('tracy_no_sampling', type : 'boolean', value : false, description : 'Disable call stack sampling')
|
||||||
option('tracy_no_verify', type : 'boolean', value : false, description : 'Disable zone validation for C API')
|
option('tracy_no_verify', type : 'boolean', value : false, description : 'Disable zone validation for C API')
|
||||||
option('tracy_no_vsync_capture', type : 'boolean', value : false, description : 'Disable capture of hardware Vsync events')
|
option('tracy_no_vsync_capture', type : 'boolean', value : false, description : 'Disable capture of hardware Vsync events')
|
||||||
option('tracy_no_frame_image', type : 'boolean', value : false, description : '"Disable the frame image support and its thread')
|
option('tracy_no_frame_image', type : 'boolean', value : false, description : 'Disable the frame image support and its thread')
|
||||||
|
option('tracy_no_sys_trace', type : 'boolean', value : false, description : 'Disable systrace sampling')
|
||||||
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')
|
||||||
|
Loading…
Reference in New Issue
Block a user