Boost logo

Boost-Build :

Subject: Re: [Boost-build] Copy TCL script using install rule
From: Alexander Sack (pisymbol_at_[hidden])
Date: 2008-11-26 15:49:36


On Wed, Nov 26, 2008 at 12:57 PM, Vladimir Prus
<vladimir_at_[hidden]> wrote:
> 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?

SH - .sh shell scripts
PL - .pl perl scripts

Now TCL is more common than you think. I mean heck, Linux kernel
configuration used TCL for many users I believe (TCL/TK). I'm just
curious if there are others that might be helpful....I realize most of
these are probably defined as extensions in tools (like lex and bison
etc.).

-aps


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