Boost logo

Boost-Build :

From: Dirk Griffioen (dirk_at_[hidden])
Date: 2007-10-16 09:47:45


Hi All,

I hope somebody can help me with this.

I have 2 jamfiles in 2 different directories, A and B.

B is dependent on A in the sense that A builds a code-generator which
need to be installed in a know location, preferably on $PATH.

jamfile A:

project xx ;
exe xxgen : xxgen.cpp ;
stage install_xx : xxgen : <location>$(ROOT)/bin ;

jamfile B:

use-project /x : : $(ROOT)/src/x ;
import xxgen ;

lib mylib
    : code.xx
      morecode.cpp
      /x//install_xx
    ;

I was hoping this would build and install 'xxgen' so that it could
generate code for the file 'code.xx' in mylib in jamfile B.

But sadly, the dependency is not seen.

Is this possible? And if so, what am I doing wrong?

Help would be much appreciated!

Regards, Dirk



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