Skip to content

Commit

Permalink
meson: build with -O3 (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan authored Jul 1, 2022
1 parent e77f451 commit 9ee14eb
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -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')
Expand Down

0 comments on commit 9ee14eb

Please sign in to comment.