[Scons-users] Deducing dependencies from command lines

Tom Tanner (BLOOMBERG/ LONDON) ttanner2 at bloomberg.net
Tue Jun 6 12:17:12 EDT 2017


i was looking at it with sconsign, and it's not in there. so I'd imagine it wouldn't turn up with tree=prune (though I hacked things a bit by monkeypatching Scons.Defaults.xxxObjectFile to get an explicit dependency in the build_

From: bill at baddogconsulting.com At: 06/06/17 15:43:54
To: Tom Tanner (BLOOMBERG/ LONDON), scons-users at scons.org
Subject: Re: [Scons-users] Deducing dependencies from command lines

Does the path to wrapper.py show up in scons --tree=prune?

-Bill

On Tue, Jun 6, 2017 at 9:50 AM, Tom Tanner (BLOOMBERG/ LONDON) <ttanner2 at bloomberg.net> wrote:

I give it a full path. just too hard to type.

From: bill at baddogconsulting.com At: 06/06/17 13:27:27
To: Tom Tanner (BLOOMBERG/ LONDON), scons-users at scons.org
Subject: Re: [Scons-users] Deducing dependencies from command lines

Is the path to wrapper.py in PATH?

On Tue, Jun 6, 2017 at 6:32 AM, Tom Tanner (BLOOMBERG/ LONDON) <ttanner2 at bloomberg.net> wrote:

We have come across a situation where we want to wrap our C/C++ compiler in a script, so the command line has changed from

    g++ -o thing.o thing.cc

to

    wrapper.py g++ -o thing.o thing.cc

I'm in a bit of a quandary as I can't work out how to make wrapper.py a dependency of every c++ (and C and fortran...) compilation. Currently it ain't.

How'd I go about doing this?
_______________________________________________
Scons-users mailing list
Scons-users at scons.org
https://pairlist4.pair.net/mailman/listinfo/scons-users


_______________________________________________
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/20170606/585f3a37/attachment.html>


More information about the Scons-users mailing list