Idiom for creating similar build targets (one option changes)

28 Views Asked by At

I want one release version and a debug version of the same files.

Right now I have written a python function that creates the two versions. Is there a more idiomatic way, maybe directly supported by waf?

1

There are 1 best solutions below

2
neuro On BEST ANSWER

Yes, waf use "variants" to manage such things. See §7.2.2 of the waf book