• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import feature ;
2import toolset ;
3import os ;
4
5path-constant HERE : . ;
6make main.cpp : main_cpp.pro : @do-something ;
7
8feature.feature example.python.interpreter : : free ;
9
10toolset.flags do-something PYTHON : <example.python.interpreter> ;
11actions do-something
12{
13    "$(PYTHON:E=python)" "$(HERE)/foo.py" "$(>)" "$(<)"
14}
15
16if [ os.name ] = VMS
17{
18    actions do-something
19    {
20        $(PYTHON:E=python) $(HERE:W)foo.py $(>:W) $(<:W)
21    }
22}
23