[Scons-users] Is it possible to obtain the real file path in SCONS generated dblite file?

Bill Deegan bill at baddogconsulting.com
Fri Mar 29 12:48:42 EDT 2019


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> 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
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20190329/4c9407c0/attachment-0001.html>


More information about the Scons-users mailing list