Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75506 - trunk/tools/build/v2/test
From: ghost_at_[hidden]
Date: 2011-11-16 08:00:43


Author: vladimir_prus
Date: 2011-11-16 08:00:41 EST (Wed, 16 Nov 2011)
New Revision: 75506
URL: http://svn.boost.org/trac/boost/changeset/75506

Log:
Adjust configuration.py to Boost.Build/Python.

Text files modified:
   trunk/tools/build/v2/test/configuration.py | 8 ++++++++
   1 files changed, 8 insertions(+), 0 deletions(-)

Modified: trunk/tools/build/v2/test/configuration.py
==============================================================================
--- trunk/tools/build/v2/test/configuration.py (original)
+++ trunk/tools/build/v2/test/configuration.py 2011-11-16 08:00:41 EST (Wed, 16 Nov 2011)
@@ -47,6 +47,14 @@
 feature.extend toolset : %s ;
 rule init ( ) { }
 """ % toolsetName )
+
+ # Python version of same dummy toolset.
+ t.write(toolsetName + ".py", """
+from b2.build import feature
+feature.extend('toolset', ['%s'])
+def init(): pass
+""" % toolsetName )
+
     t.write("jamroot.jam", "using %s ;" % toolsetName)
 
     t.run_build_system()


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk