|
Boost-Build : |
From: Jorge Suit Perez Ronda (josp.jorge_at_[hidden])
Date: 2007-01-02 12:56:50
(Sorry in my previous email, a return was missing.)
Hello, I want to use a <conditional> rule with package.install in order
to compute a prefix location. I'm getting an error but don't know what
is wrong, some rule is validating the feature I'm building.
The error is when doing
bjam install
The Jamroot (also attached) is:
import package ;
exe example : source.c ;
rule get-default-prefix ( props * )
{
ECHO $(props) ;
return <install-default-prefix>/tmp/kk ;
}
package.install install
: <conditional>@get-default-prefix
: example
: # no libs
: # no headers
;
any idea?
regards,
Jorge
import package ;
exe example : source.c ;
rule get-default-prefix ( props * )
{
ECHO $(props) ;
return <install-default-prefix>/tmp/kk ;
}
package.install install
: <conditional>@get-default-prefix
: example
: # no libs
: # no headers
;
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