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 answers

2
neuro On BEST ANSWER

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