swayfx/sway/desktop/shaders/meson.build

26 lines
527 B
Meson
Raw Normal View History

embed = find_program('./embed.sh', native: true)
shaders = [
2023-03-21 03:30:40 +11:00
'box_shadow.frag',
2022-12-12 06:59:11 +11:00
'common.vert',
2023-03-21 03:30:40 +11:00
'corner.frag',
'quad.frag',
'quad_round.frag',
2022-11-11 17:19:02 +11:00
'quad_round_tl.frag',
'quad_round_tr.frag',
2023-03-21 03:30:40 +11:00
'tex.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