You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
interpreter: Expose install_vala_* and deprecate install_dir > 1 for BuildTarget
For an end user it's opaque what these extra dirs do (even if in the
backend it's a fine data layout). Additionally, it isn't exactly obvious
that passing `install_dir : [true, true, true, true]` isn't valid if
`vala_gir` isn't set. This makes things much more obvious, and means
that an end user only needs to set values they want to overwrite.
Consider this:
```meson
library(
'foo',
'foo.vala',
vala_gir : 'foo.gir',
install : true,
install_dir : [true, true, true, get_option('datadir') / 'mygir'],
)
```
The end use needs to know what all of these fields mean, and they need
to specify *every* field. Consider now:
```meson
library(
'foo',
'foo.vala',
vala_gir : 'foo.gir',
install : true,
install_vala_gir_dir : get_option('datadir') / 'mygir',
)
```
This does not change the backend representation, since that works and is
mostly fine. There's probably some improvements that could be made to
group outputs and their install status together in such a way that we
cant have mismatched lists, but I haven't undertaken that here.
0 commit comments