Boost logo

Boost-Build :

Subject: Re: [Boost-build] [Boost-users] [boost-build]how to configure custom targets
From: Sandeep Gupta (gupta.sandeep_at_[hidden])
Date: 2009-01-27 01:40:32

Hi Steven,
 Thanks. I should be able to fix it using this info. However I have hit
another, but somewhat related, roadblock. Tried the documentation but
failed to find relevant snippets.

Using generators i have created these two custom rules
1) mp a : ;
            which converts to
2) mps a :
            which converts to a.mps

Invoking bjam complains "unable to find target". The problem is that I
am unable to specify that " is generated by rule 1".
In case i am missing something obvious please point me to relevant portion
of the documentation.


On Mon, Jan 26, 2009 at 7:33 PM, Steven Watanabe <watanabesj_at_[hidden]>wrote:

> Sandeep Gupta wrote:
>> I am trying to roll out my own main target (essentially to create plots
>> using gnuplots). The tutorial example/customization was helpful and
>> modifications at appropriate places does the required job.
>> However the output-file is generated on "bin/gcc-4.2/debug". How can I
>> change this so that it outputs to plots/ subdirectory.
> Use the <location> property.
> My second concern is that bjam executes the rule even if the end target
>> is up-to-date. How to fix this.
> bjam should only update targets that are out of date.
> use
> bjam -d+12 ...
> to see the dependency graph.
> In Christ,
> Steven Watanabe
> _______________________________________________
> Unsubscribe & other changes:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at