[Scons-users] Deducing dependencies from command lines

Tom Tanner (BLOOMBERG/ LONDON) ttanner2 at bloomberg.net
Tue Jun 6 09:50:59 EDT 2017


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20170606/3ef64c91/attachment.html>


More information about the Scons-users mailing list