[Scons-users] Out of project tree builds

Russel Winder russel at winder.org.uk
Sat Oct 27 17:38:10 EDT 2012


On Sat, 2012-10-27 at 13:17 -0700, William Deegan wrote:
[…]

> By default SCons builds from the current directory down.

> I think adding a Default('../whateverdir') and/or env.Default(..) might do the trick.


I suspect, even if it works, that is a hack. User should be able to say:

SConstruct('src/SConscript', variant_dir='../../BuildLocation',
duplicate=0)

and have it work correctly. It not working and not causing SCons to
error is I think a definite bug.

--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : <http://four.pairlist.net/pipermail/scons-users/attachments/20121027/77c7a4d8/attachment.pgp>


More information about the Scons-users mailing list