|
Boost-Build : |
From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-05-31 08:03:17
Pedro Ferreira wrote:
>Hi,
>
>From: "Toon Knapen"
> >I just tried following on the latest CVS
> >
> > <Jamroot>
> > lib tt : tt.cpp ;
> > stage install_all : tt : <location>bin <name>tt_d ;
> > </Jamroot>
> >
> > and it tells me:
> >
> > error: The <name> preperty is not allowed for the 'install' rule.
>
>Yup. I've noticed this one too and I find that very useful.
>I looked at the code and it seemed pretty simple to do it even with the
>recent changes.
>Volodya: is there some not so straightforward reason to disallow this? E.g.
>renaming would break names embedded in DLLs, etc.
What about creating C/C++-based CGI programs (mycgi.exe --> mycgi.cgi), or
DLLs that use different prefixes (e.g. .ocx)? Is there a way to set these in
the lib/exe, e.g.:
exe mycgi : ... : <name>mycgi.cgi ;
? If not, this would have to be done on an install/stage. Does the custom
naming facility support this type of renaming (i.e. changing the extension?)
Reece Haston Dunn
Software Engineer, Sophos
Web: www.sophos.com
Sophos - protecting businesses against viruses and spam
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