mirror of
https://github.com/scorpion-26/gBar.git
synced 2024-11-22 03:02:49 +00:00
Buildsystem: More aggressive optimizations
- Enable LTO by default - Enable Full optimizations by default - Statically link to libgBar by default
This commit is contained in:
parent
682f0a4c2f
commit
d2d66171df
1 changed files with 6 additions and 1 deletions
|
@ -3,7 +3,12 @@ project('gBar',
|
||||||
version: '0.0.1',
|
version: '0.0.1',
|
||||||
license: 'MIT',
|
license: 'MIT',
|
||||||
meson_version: '>=0.49.0',
|
meson_version: '>=0.49.0',
|
||||||
default_options: ['c_std=c++17', 'warning_level=3'])
|
default_options: ['c_std=c++17',
|
||||||
|
'warning_level=3',
|
||||||
|
'default_library=static',
|
||||||
|
'buildtype=release',
|
||||||
|
'b_lto=true'],
|
||||||
|
)
|
||||||
|
|
||||||
gtk = dependency('gtk+-3.0')
|
gtk = dependency('gtk+-3.0')
|
||||||
gtk_layer_shell = dependency('gtk-layer-shell-0')
|
gtk_layer_shell = dependency('gtk-layer-shell-0')
|
||||||
|
|
Loading…
Reference in a new issue