Is it possible to dynamically create targets from a rule? #2770
-
I have a target kind that needs to depend on another target, with custom configuration. I'm currently adding it as a dependency and then modifying it in Is it possible to clone a target from a rule and then add the clone as a dependency? Or explicitly construct a new target? The constructor for |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Clone target in rule is not supported and it is not recommended to modify the configuration of dependent targets in sub-targets. |
Beta Was this translation helpful? Give feedback.
-
I am supporting create target/rule dynamically in script scope. #2879 maybe you can try it later, but it has been not merged yet. I am still developing it. |
Beta Was this translation helpful? Give feedback.
Clone target in rule is not supported and it is not recommended to modify the configuration of dependent targets in sub-targets.