[Scons-users] Creating SConscripts on the fly

Bill Deegan bill at baddogconsulting.com
Fri Feb 23 16:30:09 EST 2018


You can do build/32 build/64

You don't have to do module_x level.


On Fri, Feb 23, 2018 at 3:23 PM, Hua Yanghao <huayanghao at gmail.com> wrote:

> > Because you can have N variant_dirs for a given source dir allowing
> multiple
> > variations of a build to run at the same time.
> > For example {32,64}/{release/debug/profile}/{linux,win32,osx} could
> > potentially all build at the same time.
> >
> > So with VariantDir (or variant_dir), you're saying build is a super
> > lightweight copy of src.  And in most cases either only copy what you
> use,
> > or copy nothing, but act as if the source files were there.
>
> I see the fundamental difference here, I always wanted something like
> build/64bit/... and build/32bit/... compared to
> build/module_x/{64bit,32bit}/...
>
> But Indeed I see the point is valid.
>
> Yes the copy on GNU/Linux is actually just a hard link, you can even
> just modified the "copied" file which is the same as the original one.
> _______________________________________________
> 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/20180223/0c7efac8/attachment.html>


More information about the Scons-users mailing list