[Scons-users] How to set disable duplicate=0 for all SCons build variants without repeating the option multiple times?
Bill Deegan
bill at baddogconsulting.com
Fri Dec 7 08:54:53 EST 2018
Hua's suggestion is likely the easiest way.
You can use a PsuedoBuilder to help set that up.
https://scons.org/doc/production/HTML/scons-user/ch20.html
At this point there's no global way to change the default sconscript
duplicate flag.
Of course.. pull requests are welcome.
If you feel this would be useful please feel free to file an issue on
github.
-Bill
On Fri, Dec 7, 2018 at 8:18 AM Hua Yanghao <huayanghao at gmail.com> wrote:
> On Fri, Dec 7, 2018 at 1:21 PM Ciro Santilli <ciro.santilli at gmail.com>
> wrote:
> >
> >
> https://stackoverflow.com/questions/53656787/how-to-set-disable-duplicate-0-for-all-scons-build-variants-without-repeating-th
> >
> > I am dealing with a project that has many variant dirs created with
> > `SConscript(variant_dir=)`.
>
> I am not sure what is the recommended way from scons, but I only have
> 3 lines of code to centrally processing all SConscript files.
> Hence for me when I changed back from duplicate=1 to duplicate=0 (due
> to the incremental build issue breaking up sometimes with duplicates)
> is just changing a single char.
> _______________________________________________
> 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/20181207/cc582899/attachment.html>
More information about the Scons-users
mailing list