Inkrementator
Inkrementator

Reputation: 40

Idiom for creating similar build targets (one option changes)

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?

Upvotes: 1

Views: 27

Answers (1)

neuro
neuro

Reputation: 15180

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

Upvotes: 2

Related Questions