aloof-angle-91616
09/12/2018, 6:30 PM_copy_target_attributes
in codegen tasks and moving that into an attribute on the generated target type itself, e.g. PythonLibrary.synthetic_passthrough_args == ['compatibility']
. this has the additional benefit of colocating the passthrough args with the target that they're getting passed through to. i'm thinking this probably best done with a new abstract task class subclassing SimpleCodegenTask
, and then individual codegen tasks can switch over kinda like BinaryTool
-- and then we can deprecate using SimpleCodegenTask
directly. if this had existed before, i wouldn't have had to update multiple internal tasks to support compiler_option_sets
, and in general this seems far more stable. i don't think this is a lot of code, and since the idea is to make a new class first, it shouldn't be too intrusive. i can put that up today, but if it sounds like something i should put up an issue for first, i can do that first.