23 lines
443 B
Plaintext
23 lines
443 B
Plaintext
import feature ;
|
|
import toolset ;
|
|
import os ;
|
|
|
|
path-constant HERE : . ;
|
|
make main.cpp : main_cpp.pro : @do-something ;
|
|
|
|
feature.feature example.python.interpreter : : free ;
|
|
|
|
toolset.flags do-something PYTHON : <example.python.interpreter> ;
|
|
actions do-something
|
|
{
|
|
"$(PYTHON:E=python)" "$(HERE)/foo.py" "$(>)" "$(<)"
|
|
}
|
|
|
|
if [ os.name ] = VMS
|
|
{
|
|
actions do-something
|
|
{
|
|
$(PYTHON:E=python) $(HERE:W)foo.py $(>:W) $(<:W)
|
|
}
|
|
}
|