[Scons-users] custom builder for use with wine

Dirk Bächle tshortik at gmx.de
Mon Aug 19 03:10:27 EDT 2013


Hi Patrick,

On 18.08.2013 10:24, Patrick.Wambacq at esat.kuleuven.be wrote:

> [...]

>

> As you can see, my own TryWine method is not a custom test itself but rather it is a method that I want to use in most of my custom tests in the code above, as a replacement for TryRun, such that wine is called to run the compiled executable. I fail to correctly declare and use this custom builder TryWIne.


this is Python, where functions are first-class objects. So you should
be able to say something like

conf.TryWine = MyTryWine

where you have defined MyTryWine as your own replacement for TryRun.

Does this help?

Best regards,

Dirk




More information about the Scons-users mailing list