Boost logo

Boost-Build :

Subject: Re: [Boost-build] using make rule in conjunction with target-os
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2010-05-29 14:33:11


On 5/29/2010 4:25 AM, Vladimir Prus wrote:
> On Saturday 29 May 2010 01:24:22 Rene Rivera wrote:
>> actions no-op { }
>>
>> make $(SCRIPT2) : script.bat : @common.copy :<target-os>windows ;
>> make $(SCRIPT2) : script.bat : @no-op :<target-os>hpux ;
>>
>> But that would also likely cause it to always run the no-op actions
>> since the targets would never be generated.
>
> An alternative is:
>
> make $(SCRIPT2) : script.bat : @common.copy :<target-os>windows ;
> alias $(SCRIPT2) : :<target-os>hpux ;

Ah, right.. Forgot about an empty alias.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

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