[Scons-users] Is it possible to obtain the real file path in SCONS generated dblite file?
Praveen Singh Chetpet
pcsingh at qti.qualcomm.com
Mon Apr 1 01:27:06 EDT 2019
Thanks Bill. I will try the suggested solution.
Regards,
Praveen
From: Scons-users <scons-users-bounces at scons.org> On Behalf Of Bill Deegan
Sent: Friday, March 29, 2019 10:19 PM
To: SCons users mailing list <scons-users at scons.org>
Subject: [EXT] Re: [Scons-users] Is it possible to obtain the real file path in SCONS generated dblite file?
Praveen,
Look at the manpage search for "${SOURCE.srcpath}" for the section on doing interesting things with SOURCE and TARGET.
https://scons.org/doc/production/HTML/scons-man.html
Does this answer your question?
-Bill
On Thu, Mar 28, 2019 at 7:30 PM Praveen Singh Chetpet <pcsingh at qti.qualcomm.com<mailto:pcsingh at qti.qualcomm.com>> wrote:
Hi,
We use Variant Dir Feature from SCONS to build the object files and libraries in a different directory than where the source is located.
When we do this, SCons reports the source files as if they existed in the object/library directory rather than in the source directory.
Earlier my senior colleague Don has spent some time trying to get the sconsign tool to tell us the source directory, and tried other ways to check SCons implementation itself to see if we can find that information at build time, but haven’t found anything concrete.
Could you please help us on obtaining the actual source directory rather than the place from where it is being compiled during build time, or please suggest if there is any other way?
Thanks,
Praveen
_______________________________________________
Scons-users mailing list
Scons-users at scons.org<mailto: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/20190401/631380e6/attachment.html>
More information about the Scons-users
mailing list