[Scons-users] adding text to compile line

daggs daggs at gmx.com
Fri Feb 2 14:19:15 EST 2024


question,

the example you've provided uses hardcoded prefix, is there a way to make that
prefix provided into the func somehow?

> Sent: Friday, February 02, 2024 at 7:42 PM
> From: "Mats Wichmann" <mats at wichmann.us>
> To: scons-users at scons.org
> Subject: Re: [Scons-users] adding text to compile line
>
> On 2/2/24 10:00, Bill Deegan wrote:
> > Good call Mats. Pre-coffee I didn't think of this.. ;)
> 
> Still have a feeling that it can be done with $PRINT_CMD_LINE_FUNC and 
> be a bit cleaner. But I didn't try that, I did experiment with this one.
> 
> > 
> > On Fri, Feb 2, 2024 at 8:59 AM Mats Wichmann <mats at wichmann.us 
> > <mailto:mats at wichmann.us>> wrote:
> > 
> >     On 2/2/24 01:25, daggs via Scons-users wrote:
> >      > Greetings Bill,
> >      > I'll try it, just for the heck of it but it isn't a valid
> >     solution as I
> >      > cannot ask multiple devs to make that change in their scons.
> >      > the question is, can I remove them using the std python code?
> >      > one of the main features we use is take the compile line and run it
> >      > manually so we don't need to run the entire build just to test
> >     one line.
> >      > these "addons" will wreck havoc in bash
> > 
> >     You don't have to patch scons, you can try it this way:
> > 
> >     In the top dir of your project, create a site_scons directory, and
> >     put a
> >     site_init.py into it containing this:
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>


More information about the Scons-users mailing list