Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2004-12-16 13:24:20


On 12/16/2004 08:44 AM, David Abrahams wrote:
[snip]
>>This user-defined function can be any shell script. An example
>>is:
>>
>> include $(shell echo default.imk|tee -a Makefile.d)
>>
>>which includes default.imk into the Makefile and records
>>it's inclusion in Makefile.d. 'echo default.imk' can be replaced
>>by a user defined shell script.
>
>
> Yes, but this is inherently platform-specific.
>

Did you mean the tee and/or echo or the make include? If
you meant the tee and echo, they could be replace by a
perl script doing the equivalent for the paricular operating system.
Of course this would mean the install of the make system would
have to detect this and set the appropriate links to the
perl scripts specific to the OS, but I don't see that as much
of a problem. If you mean the make include, then I'm stumped.

 


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