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