swayfx/sway/desktop/shaders/meson.build

26 lines
537 B
Meson
Raw Normal View History

embed = find_program('./embed.sh', native: true)
shaders = [
2022-12-12 06:59:11 +11:00
'common.vert',
'quad.frag',
'quad_round.frag',
2022-11-11 17:19:02 +11:00
'quad_round_tl.frag',
'quad_round_tr.frag',
'corner.frag',
'box_shadow.frag',
2023-03-18 16:03:02 +11:00
'tex_decorated.frag',
]
foreach name : shaders
output = name.underscorify() + '_src.h'
var = name.underscorify() + '_src'
sway_sources += custom_target(
output,
command: [embed, var],
input: name,
output: output,
feed: true,
capture: true,
)
endforeach