mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-14 08:56:26 -05:00
build: use dicts instead of get_variable
Closes: https://github.com/swaywm/wlroots/issues/1963
This commit is contained in:
parent
0b882475ad
commit
ab4f642153
3 changed files with 10 additions and 7 deletions
|
|
@ -167,7 +167,7 @@ clients = {
|
|||
foreach name, info : compositors
|
||||
extra_src = []
|
||||
foreach p : info.get('proto', [])
|
||||
extra_src += get_variable(p.underscorify() + '_server_h')
|
||||
extra_src += protocols_server_header[p]
|
||||
endforeach
|
||||
|
||||
executable(
|
||||
|
|
@ -182,8 +182,8 @@ endforeach
|
|||
foreach name, info : clients
|
||||
extra_src = []
|
||||
foreach p : info.get('proto')
|
||||
extra_src += get_variable(p.underscorify() + '_c')
|
||||
extra_src += get_variable(p.underscorify() + '_client_h')
|
||||
extra_src += protocols_code[p]
|
||||
extra_src += protocols_client_header[p]
|
||||
endforeach
|
||||
|
||||
executable(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue