Allow multiple outputs from configure_file
, or a similar method
#12425
mitchgrout
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
( Relates to #12424 )
The tools that I use to generate my files will emit several files in one go, think paired source/header files. With the current design of
configure_file
, the command I run will successfully create both source and header, but I can only indicate that one of these files is being created. I can hack my way around this by claiming that I am generating a source, and having the header be generated for free, but it falls apart when I useconfigure_file
to generate multiple sources.A thought is to allow
configure_file
to express the configuration of multiple files in one step by changing theoutput
parameter fromstr
tostr | list[str]
or similar. Or perhaps, this could be a separate method entirely?Beta Was this translation helpful? Give feedback.
All reactions