Boost logo

Boost-Build :

Subject: Re: [Boost-build] Copy TCL script using install rule
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-11-26 12:57:37


Alexander Sack wrote:

>> The reason your code does not work is that:
>>
>> make $(APP) : $(sources) : common.copy ;
>>
>> when built, does not produce a target of EXE type, but rather of whatever type
>> is associated with the name of the target. E.g.
>>
>> make a.cpp : ....... ;
>>
>> will produce the target of type CPP. In your case, no type is associated with the
>> name, so target is typeless, not of type EXE.
>>
>> HTH,
>> Volodya
>
> I have stupid question (again): Why doesn't Boost.Build register some
> common known types to avoid stuff like this? I mean TCL is pretty
> standard and so are some others off the top of my head (XML, maybe SH
> or PL etc. etc.). I know its minor but...

I did not know TCL is common. The only use of TCL I am aware of is DejaGNU,
and

  - it uses extension .exp anyway
  - it really should disappear :-)

XML type is defined. What is SH and PL?

- Volodya


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