Re: adding text to compile line

Bill Deegan <[email protected]> Sun, 21 Jan 2024 13:06:43 -0800
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CEoEosj8+jjRu=EEzXhaG83DxC4X6T9HvX1EZJ4NJ3+kQ@mail.gmail.com>
Dagg,

What Mats said.. with more detail.

So if your compiling c++, the relevant variables are
CXXCOM, CXXCOMSTR
SHCXXCOM, SHCXXCOMSTR

The *STR variables are what is output to the screen, the non *STR are
what's used to build the command line and execute.
replace CXX with CC for C compiles..
You can see the complete list of such variables in the manpage:
https://scons.org/doc/production/HTML/scons-man.html

Hope this helps~!
-=Bill

On Sun, Jan 21, 2024 at 11:07 AM Mats Wichmann <[email protected]> wrote:

> On January 21, 2024 5:40:14 AM MST, daggs via Scons-users <
> [email protected]> wrote:
> >Greetings,
> >
> >I want to add a prefix the compile line scons is displaying, is it
> possible?
> >
> >Thanks,
> >
> >Dagg
> >_______________________________________________
> >Scons-users mailing list
> >[email protected]
> >https://pairlist4.pair.net/mailman/listinfo/scons-users
>
> yes.
>
> sorry not at a place I can answer more fully, but can modify the relevant
> COMSTR (command string), or supply your own $PRINT_CMD_LINE_FUNC
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> _______________________________________________
> Scons-users mailing list
> [email protected]
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users