How to specify an input *directory* for custom_target
or generator
?
#11230
Answered
by
bruchar1
ShamrockLee
asked this question in
Q&A
-
When trying to specify a directory
How can I feed a directory to my script and produce the output file with Meson? |
Beta Was this translation helpful? Give feedback.
Answered by
bruchar1
Jan 15, 2023
Replies: 1 comment
-
A For a |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ShamrockLee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A
custom_target
needs files as its input, because it needs to know which modified files will trigger the build.For a
generator
, you can provide the arguments you want to the script, because it is triggered by its outputs. Therefore, you could provide a directory as an argument to your script.