On Wed, 2014-02-19 at 16:44 +0000, Managan, Rob wrote:
[…]
> You can execute the local SCons directly from the src/ subdirectory by
> first setting the SCONS_LIB_DIR environment variable to the local
> src/engine subdirectory, and then executing the local src/script/scons.py
> script to populate the build/scons/ subdirectory. You would do this as
> follows on a Linux or UNIX system (using sh or a derivative like bash or
> kWh):
> 
> $ setenv MYSCONS=`pwd`/src
> $ setenv SCONS_LIB_DIR=$MYSCONS/engine
> $ python $MYSCONS/script/scons.py [arguments]
[…]

I guess the reason I haven't tried this is that it populates the source
tree with .pyc files whereas using the bootstrap.py it leaves the source
tree untouched. Maybe I should just get used to pollution :-) 

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

_______________________________________________
Scons-dev mailing list
Scons-dev@scons.org
http://two.pairlist.net/mailman/listinfo/scons-dev

Reply via email to