|
Boost-Build : |
From: ccharles_at_[hidden]
Date: 2002-12-18 15:22:34
Hi all,
I'm trying to implement rules for bjam to install my current project but I can't get bjam to execute the 'actions' statement that I defined in my Jamfile. Following is an example code that I can't get it to run.
ECHO_ ?= echo ;
rule COUT
{
COUT_ $(<) ;
}
actions COUT_
{
$(ECHO_) $(<)
}
rule my_rules
{
DEPENDS $(<) : $(>) ;
COUT $(>) ;
}
rule make_rule
{
exe $(<)$(SUFEXE) : $(>) ;
LINKLIBS on $(<)$(SUFEXE) = -lm ;
my_rules $(<) : hello world ;
}
make_rule testit : test.cc ;
I used print statements and find that bjam runs up to the rule COUT, but it doesn't seem to recognize the action COUT_. Am I missing something here?
Thanks,
Charles
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