mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 20:45:59 +01:00
meson: build with -O3 (#291)
This commit is contained in:
parent
e77f451e27
commit
9ee14eb445
1 changed files with 10 additions and 1 deletions
11
meson.build
11
meson.build
|
@ -1,6 +1,15 @@
|
|||
project('Hyprland', 'cpp', 'c',
|
||||
version : '0.6.2beta',
|
||||
default_options : ['warning_level=3', 'cpp_std=c++20', 'default_library=static'])
|
||||
default_options : ['warning_level=2', 'cpp_std=c++20', 'default_library=static', 'optimization=3'])
|
||||
|
||||
add_project_arguments(
|
||||
[
|
||||
'-Wno-unused-parameter',
|
||||
'-Wno-unused-value',
|
||||
'-Wno-missing-field-initializers',
|
||||
'-Wno-narrowing',
|
||||
],
|
||||
language: 'cpp')
|
||||
|
||||
wlroots = subproject('wlroots', default_options: ['examples=false'])
|
||||
have_xwlr = wlroots.get_variable('features').get('xwayland')
|
||||
|
|
Loading…
Reference in a new issue