Open WillAyd opened 2 months ago
The correct form is either install = ['--skip-subprojects', 'nanoarrow']
or install = ['--skip-subprojects=nanoarrow']
. The install = ['--skip-subprojects nanoarrow']
form passes a single --skip-subprojects nanoarrow
flag, which is incorrect. I don't know why this does not result in an error though.
meson-python allows to specify options to be passed to the different meson
subcommands invoked during the build: meson setup
, meson compile
, meson install
. However, it does not really execute meson install
but performs equivalent operations. For this reason, the options that would be passed to meson install
are interpreted directly by meson-python. meson-python supports the --tags
and --skip-subprojects
options and ignores everything else. As reported by the OP, this may cause confusion when options are misspelled or when unsupported options are specified.
Emitting an error when an unsupported option is specified may be the best thing to do. A warning should be emitted, at least.
It appears that having:
is a no-op. To actually skip the subproject, I have to use:
Is this distinction intentional?