[Scons-users] use of abspath
Bill Deegan
bill at baddogconsulting.com
Mon Aug 14 12:09:36 EDT 2017
Mats,
Glad that helped. Please post any further issues you find and we'll help as
much as we can.
_Bill
On Mon, Aug 14, 2017 at 8:29 AM, Mats Wichmann <mats at wichmann.us> wrote:
> On 08/11/2017 01:50 PM, Bill Deegan wrote:
> > if 'caconnectivitymanager.c' is in foo/bar/src, then if you change to:
> >
> > ca_common_src = [File(f) for f in [
> > 'caconnectivitymanager.c',
> > 'cainterfacecontroller.c',
> > 'camessagehandler.c',
> > 'canetworkconfigurator.c',
> > 'caprotocolmessage.c',
> > 'caqueueingthread.c',
> > 'caretransmission.c',
> > ]]
> >
> > You can probably skip all the rest of the file path munging.
> > File will assume the path specified is relative to current SConscript (Or
> > SConstruct if that's where it's invoked)
> >
> > -Bill
>
> The update was this worked... mostly. It stopped defeating the scons
> calculations of paths (for variant, which was the objective here) but it
> seemed every change had some side effect, or rather, uncovered a bad
> assumption somewhere else. I'm still slowly iterating through trying to
> find the end where everything builds again. Sigh.
>
> _______________________________________________
> 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/20170814/58f54df6/attachment.html>
More information about the Scons-users
mailing list