Boost logo

Boost-Build :

From: klapshin <klapshin_at_[hidden] (klapshin_at_[hidden])
Date: 2003-02-19 17:47:40


Hello All,

I am trying to apply V2 to my project and got couple of stupid newbie
questions. Pointing to the right place in FM is appreciated.

First of all what would be the best place to specify custom rules,
i.e. instead of Jamrules?

For instance I have couple of scripts generating C-code, and some
projects have to run them on source file and compile result
afterwards.

Secondly, what is the right way to figure out path from current folder
to project folder?

I need it to resolve the problem that

exe test : [ GLOB . : *.cpp ] ;

works only if bjam is invoked from that project, if it invoked from
root, then globbing fails. I tried to play with project.attribute but
can't make it work.

Could someone point me into right direction?

Regards,

Kirill Lapshin.

 


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