$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-build] Newbie question to make rule
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-06-18 17:31:13
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 : ... ;
In Christ,
Steven Watanabe