-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow passing GeneratedList to generator.process #1141
Comments
File objects too - if generator is defined in submodule - paths are relative to that submodule.
|
Any updates on this? Wrapper scripts are not trivial to write when e.g. subproject executables are involved in a compilation chain. |
I am finding the exact same use case as described by this issue. |
Same here. I needed to preprocess some ASM files which include C headers, then pass the generated ASM sources to the ASM generator. Now it doesn't work. Could be done with custom_targets but not clean. |
Same here. I'm using gnu m4 and lemon. Unfortunately
fails with
|
I stumbled upon this issue while trying to consume the output of |
What I wanted to do:
What I had to do thanks to Meson's limitation regarding non-chainable generators:
Full example: https://gitlab.com/emilua/emilua/-/blob/63683c851b1701ac3827f183624f13c341d03156/meson.build |
Sometimes you want to chain two generators one after the other; for instance while building assembly with MSVC, you need to use
ml.exe
but it doesn't do pre-processing, so you need to callcl.exe /EP /P /Fi@OUTPUT@ @INPUT@
to do the pre-processing, and then pass it toml.exe /Fo @OUTPUT@ /c @INPUT@
to get compiled object code which can be added as sources to anexecutable
orlibrary
.This is not trivial to do (I tried) but shouldn't be too difficult. Also implementing it on the Visual Studio backend has the same problem that is causing the
113 generatorcustom
test to fail there.This is needed for building libffi with Meson without resorting to a wrapper script.
The text was updated successfully, but these errors were encountered: