mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-04 20:55:58 +01:00
24 lines
406 B
Meson
24 lines
406 B
Meson
|
embed = find_program('./embed.sh', native: true)
|
||
|
|
||
|
shaders = [
|
||
|
'quad.vert',
|
||
|
'quad.frag',
|
||
|
'tex.vert',
|
||
|
'tex_rgba.frag',
|
||
|
'tex_rgbx.frag',
|
||
|
'tex_external.frag',
|
||
|
]
|
||
|
|
||
|
foreach name : shaders
|
||
|
output = name.underscorify() + '_src.h'
|
||
|
var = name.underscorify() + '_src'
|
||
|
wlr_files += custom_target(
|
||
|
output,
|
||
|
command: [embed, var],
|
||
|
input: name,
|
||
|
output: output,
|
||
|
feed: true,
|
||
|
capture: true,
|
||
|
)
|
||
|
endforeach
|