[Scons-users] building targets with the same SConstruct but with small diff

Mats Wichmann mats at wichmann.us
Wed Mar 23 08:53:11 EDT 2022


On 3/23/22 06:26, daggs wrote:
> Greetings,
> 
> I need to call a SConscript file twice but with a small diff in compilation flags. the resulting target should be saved in different locations.
> is there a recommend way to achieve that?

https://scons-cookbook.readthedocs.io/en/latest/#building-multiple-variants-from-the-same-source

The example is admittedly brief and not the only way to structure such a
setup, but should get you started.




More information about the Scons-users mailing list