|
Boost-Build : |
From: Larry Evans (jcampbell3_at_[hidden])
Date: 2002-04-01 09:11:49
How do I get the xqt-exe-action to run in the following Jamfile:
<------------ $(BOOST_ROOT)/test/Jamfile ----------------
subproject test
;
actions xqt-exe-action
{
echo $2 > x.out
}
rule xqt-exe ( exe-out : exe-name )
{
DEPENDS $(<) : $(>) ;
ECHO $(exe-out) $(exe-name) ;
xqt-exe-action $(exe-out) : $(exe-name) ;
}
xqt-exe main.out
:
main.exe
;
ALWAYS main.out
;
exe main.exe
:
main.cpp
:
:
debug
;
>------------------------------------
The output includes the ECHO $(exe-out) $(exe-name)
but no x.out file is produced by the call to xqt-exe-action in the
next statement of the xqt-exe rule. I also tried:
xqt-exe-action main.out : main.exe ;
but that didn't work either.
The -v jam option produces:
<---------- jam -v output -----------------
Boost.Jam Version 3.0.0. OS=LINUX.
>-------------------------------------
The top level Jamfile is:
<---------- $(BOOST_ROOT)/Jamfile ---------
project-root ;
subinclude test ;
>-------------------------------------
TIA for any help.
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