You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
395 B
23 lines
395 B
embed = find_program('./embed.sh', native: true)
|
|
|
|
shaders = [
|
|
'common.vert',
|
|
'quad.frag',
|
|
'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
|