build/example/make/jamroot.jam
2015-10-26 16:50:28 -05:00

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)
}
}