|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64149 - trunk/tools/build/v2/example/make
From: ghost_at_[hidden]
Date: 2010-07-19 03:16:19
Author: vladimir_prus
Date: 2010-07-19 03:16:18 EDT (Mon, 19 Jul 2010)
New Revision: 64149
URL: http://svn.boost.org/trac/boost/changeset/64149
Log:
Declare the feature used in the example.
Text files modified:
trunk/tools/build/v2/example/make/jamroot.jam | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Modified: trunk/tools/build/v2/example/make/jamroot.jam
==============================================================================
--- trunk/tools/build/v2/example/make/jamroot.jam (original)
+++ trunk/tools/build/v2/example/make/jamroot.jam 2010-07-19 03:16:18 EDT (Mon, 19 Jul 2010)
@@ -1,9 +1,12 @@
+import feature ;
import toolset ;
path-constant HERE : . ;
make main.cpp : main_cpp.pro : @do-something ;
-toolset.flags do-something PYTHON : <python.interpreter> ;
+feature.feature example.python.interpreter : : free ;
+
+toolset.flags do-something PYTHON : <example.python.interpreter> ;
actions do-something
{
"$(PYTHON:E=python)" "$(HERE)/foo.py" "$(>)" "$(<)"
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