build: use PCH to reduce compile time (#3095)
This commit is contained in:
parent
4eecb8bffc
commit
8e9f010ee0
3 changed files with 35 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ src = globber.stdout().strip().split('\n')
|
|||
executable('Hyprland', src,
|
||||
cpp_args: ['-DWLR_USE_UNSTABLE'],
|
||||
link_args: '-rdynamic',
|
||||
cpp_pch: 'pch/pch.hpp',
|
||||
dependencies: [
|
||||
server_protos,
|
||||
dependency('wayland-server'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue