[Scons-users] Is there a way to isolate building a specific file

Mats Wichmann mats at wichmann.us
Mon Jun 29 10:55:58 EDT 2020


On 6/29/20 8:37 AM, Bill Deegan wrote:
> This
> 
> side_effect=env.File('.serialize', env['DO_DIR'])
> env.SideEffect(side_effect,l1)
> env.SideEffect(side_effect,l2)
> 
> Could/should be rewritten as:
> 
> side_effect="$DO_DIR/.serialize"
> env.SideEffect(side_effect,l1)
> env.SideEffect(side_effect,l2)
> 
> On Mon, Jun 29, 2020 at 3:20 AM Erik Kazandjian
> <erik.kazandjian at gmail.com <mailto:erik.kazandjian at gmail.com>> wrote:
> 
>     Sorry Bill,
> 
>     I applied your SideEffect trick on the Object call and then it
>     works. Thanks for the tips


Any suggestions for updating this page, to improve the helpfulness?

https://github.com/SCons/scons/wiki/SideEffect


More information about the Scons-users mailing list