[Scons-dev] VariantDir source paths in .sonsign.dblite file

Rosenthal, Julian jrosen at qti.qualcomm.com
Thu Oct 1 16:37:25 EDT 2015


Hi Bill,

Feel free to switch this conversation over to the scons-users group.

In a nutshell – I need to establish dependency tree information with source paths.
This is for supporting builds shipped to customers where we need to re-establish artifacts that go into building a library – for example, where we may ship partial source and partial *.o files.
The list of files fed into this API need to have “correct” paths – as in paths where they files actually reside.

Thx,
                Julian


From: Scons-dev [mailto:scons-dev-bounces at scons.org] On Behalf Of Bill Deegan
Sent: Thursday, October 01, 2015 1:24 PM
To: SCons developer list
Subject: Re: [Scons-dev] VariantDir source paths in .sonsign.dblite file

Julian,
What are you trying to do with the information?
BTW. This question is likely more appropriate for the scons-users group as the dev group is meant for use discussing the development of SCons itself, and the users mailing list for people building build systems using SCons.
Thanks,
Bill

On Thu, Oct 1, 2015 at 1:12 PM, Rosenthal, Julian <jrosen at qti.qualcomm.com<mailto:jrosen at qti.qualcomm.com>> wrote:
Hi,

Quick question regarding VariantDir paths for sources (*.c) stored in .sconsign.dblite files.
I'm very happy to see that dependency info can be retrieved this way.
Unfortunately, I have a need for the actual source paths rather than the VariantDir paths information in my case.

Is there an option for sconsign to output this information with actual source paths?
Is there a way to convert this information back to actual source paths (after the fact)?
I can see how I could convert this back knowing what VARIANTDIR is, but even then I have to make some assumptions as to the actual source path. (<PARTIAL SOURCE PATH> versus <SOURCE PATH> in the example below)

Example:
Following information is available in sconsign for an example source file:
<BUILD_ROOT>/<PARTIAL SOURCE PATH>/<VARIANTDIR>/<SOURCE FILE>

I need the info to be the following:
<BUILD_ROOT>/<SOURCE PATH>/<SOURCE FILE>

I need the location of the source file (*.c) before it is copied to VARIANTDIR.

Thx for any pointers.

Sincerely,
        Julian Rosenthal
_______________________________________________
Scons-dev mailing list
Scons-dev at scons.org<mailto:Scons-dev at scons.org>
https://pairlist2.pair.net/mailman/listinfo/scons-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20151001/9877d180/attachment-0001.html>


More information about the Scons-dev mailing list