|
Boost-Build : |
From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2007-11-15 23:32:46
Hi,
This patch adds version number support and basic option processing
for the vacpp toolset. If no one objects, I'll commit this to the
trunk.
-- Noel
Index: tools/build/v2/tools/vacpp.jam
===================================================================
--- tools/build/v2/tools/vacpp.jam (revision 41135)
+++ tools/build/v2/tools/vacpp.jam (working copy)
@@ -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-Build 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