|
Boost-Build : |
Subject: Re: [Boost-build] Newbie question to make rule
From: Piotr Jachowicz (pjachowi_at_[hidden])
Date: 2010-06-19 16:46:56
Hello,
> Message: 3
> Date: Fri, 18 Jun 2010 14:31:13 -0700
> From: Steven Watanabe <watanabesj_at_[hidden]>
> To: "Boost.Build developer's and user's list"
> <boost-build_at_[hidden]>
> Subject: Re: [Boost-build] Newbie question to make rule
> Message-ID: <4C1BE5A1.7060209_at_[hidden]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> AMDG
>
> Piotr Jachowicz wrote:
>>> Piotr Jachowicz wrote:
>>>
>>>> make schemagen.sch : schemagen.imp : @schemagen ;
>>> What about:
>>>
>>> actions schemagen
>>> {
>>> cd $(>:D)
>>> schemagen $(>:D=)
>>> }
>>>
>>
>> Thank you, it works perfectly fine.
>>
>> Can I have subsequent question? Why bjam keep regenerating schema.cxx
>> even if schema.imp did not change? And how to stop it?
>>
>
> The problem is that Boost.Build thinks that it's building a file
> called schemagen.sch. Try either adding
> touch $(<)
> to actually create this file, or change the target to
> make schema.cxx : ... ;
It is building file schemagen.sch. Script schemagen gets schemagen.imp
as input and produces two files: schemagen.sch and schemagen.cxx.
I think bjam looks for schemagen.sch in /lib/bin/gcc-4.2.1/debug
directory, instead of /lib (where it is generated). Is there remedy
for that?
>
> In Christ,
> Steven Watanabe
>
>
>
> ------------------------------
>
> _______________________________________________
> Boost-build mailing list
> Boost-build_at_[hidden]
> Unsubscribe and other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
-- Piotr Jachowicz
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