Re: Is there a way to isolate building a specific file

Mats Wichmann <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
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
> <[email protected] <mailto:[email protected]>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.