Re: How to set disable duplicate=0 for all SCons build variants without repeating the option multiple times?
Bill Deegan <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <CAEyG4CFFsp4tkDmXhSnRQ8Ywe1etyB95a8=qGQOo7YTTBpwycQ@mail.gmail.com> |
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 <[email protected]> wrote: > On Fri, Dec 7, 2018 at 1:21 PM Ciro Santilli <[email protected]> > 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 > [email protected] > https://pairlist4.pair.net/mailman/listinfo/scons-users > _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users