Boost logo

Boost-Commit :

From: kbelco_at_[hidden]
Date: 2007-11-16 12:30:58


Author: noel_belcourt
Date: 2007-11-16 12:30:57 EST (Fri, 16 Nov 2007)
New Revision: 41151
URL: http://svn.boost.org/trac/boost/changeset/41151

Log:
Make vacpp toolset recognize and support version
numbers. Also perform minimal options processing.

Text files modified:
   trunk/tools/build/v2/tools/vacpp.jam | 8 +++++++-
   1 files changed, 7 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/tools/vacpp.jam
==============================================================================
--- trunk/tools/build/v2/tools/vacpp.jam (original)
+++ trunk/tools/build/v2/tools/vacpp.jam 2007-11-16 12:30:57 EST (Fri, 16 Nov 2007)
@@ -18,11 +18,17 @@
 toolset.inherit vacpp : unix ;
 generators.override vacpp.prebuilt : builtin.lib-generator ;
 generators.override vacpp.searched-lib-generator : searched-lib-generator ;
-feature.subfeature toolset vacpp : version ;
 
 # Configure the vacpp toolset
 rule init ( version ? : command * : options * )
 {
+ local condition = [
+ common.check-init-parameters vacpp : version $(version) ] ;
+
+ command = [ common.get-invocation-command vacpp : xlC
+ : $(command) : "/usr/vacpp/bin/xlC" ] ;
+
+ common.handle-options vacpp : $(condition) : $(command) : $(options) ;
 }
 
 # Declare generators


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