Boost logo

Boost-Build :

From: Jorge Suit Perez Ronda (josp.jorge_at_[hidden])
Date: 2007-01-02 12:24:13


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) ;
  <install-default-prefix>/tmp/kk ;
}

package.install install
  : <conditional>@get-default-prefix
  : exe-intel
  : # no libs
  : # no headers
  ;

any idea?

regards,

Jorge

import package ;

exe example : source.c ;

rule get-default-prefix ( props * )
{
  ECHO $(props) ;
  <install-default-prefix>/tmp/kk ;
}

package.install install
  : <conditional>@get-default-prefix
  : exe-intel
  : # 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