[Scons-users] include dir with scons variant_dir handling

Bill Deegan bill at baddogconsulting.com
Thu Jul 12 08:26:21 EDT 2018

so you're using SConscript('src/SConscript',variant_dir='build') for
You shouldn't need to do anything to make this work with any builder.


On Thu, Jul 12, 2018 at 4:06 AM, Hua Yanghao <huayanghao at gmail.com> wrote:

> Dear Scons Users and Developers,
> I am using scons variant_dir so all builds (including a replica of the
> original file, e.g. duplicate=1 by default) output in a separate
> folder.
> This works out of box for C include files, which also have a nice
> duplicate in the output directory (I am not using scanners so I guess
> all C include files are duplicated). However now I am enabling new
> customized builders, which also have a similar concept of include path
> and include files, how can I achieve the same as for C code
> compilation, e.g. to have include path and its files dupliated in the
> output folder?
> Thanks for any tips before I dive into the source code.
> Best Regards,
> Yanghao Hua
> _______________________________________________
> 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/20180712/91d1b25a/attachment.html>

More information about the Scons-users mailing list