Boost logo

Boost-Build :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2008-03-20 05:45:01


Jurko Gospodnetić wrote:
> I am not really sure what you mean by this. Boost Build generators in
> general have no special handling for cpp/hpp files... generated files
> could be xxx/yyy/zzz for all they care... So there must be something
> else that is not working for you and why you need the .cpp file...
>
> Could you possibly be lacking the <implicit-dependency> feature
> somewhere?

Hmm, could it be that my problem is, that there is no implicit
conversion from HPP to CPP type? So when my headergenerator outputs
only HPP there is no chance to see a dependency?
When I tell my headergenerator to output both, CPP and HPP it start
to work. To some extent I find this logical.

About the <implicit-dependency>:
The above said is not enough when declaring a separate target as
e.g.

hpp mygheader : mygheader.psp ;

I found I need _both_, a <dependency> _and_ <implicit-dependecy> to
get it usable from a e.g. a lib target declaration.

Possibly I'll post a summary about it if there is some interest.
It would need, that I take the time to come up with a small example
project to show everything. And I rather not spend that time if
there is no interest.

As I alread said: It works now, my next problems are with the install
stage.

-- 
_________________________________________
  _  _  | Roland Schwarz
 |_)(_  | aka. speedsnail
 | \__) | mailto:roland.schwarz_at_[hidden]
________| http://www.blackspace.at

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