Re: adding text to compile line

daggs via Scons-users <[email protected]> Sun, 21 Jan 2024 23:03:19 +0100
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <trinity-04297cb8-5429-479a-a627-6264fae6149b-1705874599082@3c-app-mailcom-bs02>
Bill, Mats, Jeremy,

thank you for the answers, I've got everything I need.

Dagg

Sent: Sunday, January 21, 2024 at 11:06 PM

From: "Bill Deegan" <[email protected]>

To: "SCons users mailing list" <[email protected]>

Subject: Re: [Scons-users] adding text to compile line

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

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