Meson: add tracy dependency

This commit is contained in:
Mihai Fufezan
2024-09-22 20:53:34 +03:00
parent be96787ed0
commit f75f8efb1b
5 changed files with 14 additions and 2 deletions

View File

@@ -73,6 +73,12 @@ foreach file : headers
install_headers(file, subdir: 'hyprland', preserve_path: true)
endforeach
tracy = dependency('tracy', static: true, required: get_option('tracy_enable'))
if get_option('tracy_enable') and get_option('buildtype') != 'debugoptimized'
warning('Profiling builds should set -- buildtype = debugoptimized')
endif
subdir('protocols')
subdir('src')
subdir('hyprctl')