[Scons-users] adding text to compile line
Bill Deegan
bill at baddogconsulting.com
Sun Jan 21 16:06:43 EST 2024
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 <mats at wichmann.us> wrote:
> On January 21, 2024 5:40:14 AM MST, daggs via Scons-users <
> scons-users at scons.org> wrote:
> >Greetings,
> >
> >I want to add a prefix the compile line scons is displaying, is it
> possible?
> >
> >Thanks,
> >
> >Dagg
> >_______________________________________________
> >Scons-users mailing list
> >Scons-users at scons.org
> >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
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20240121/061b1afb/attachment.htm>
More information about the Scons-users
mailing list