|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-04-05 05:08:51
On Wednesday 05 April 2006 09:36, Rene Rivera wrote:
> Update of /cvsroot/boost/boost/tools/build/v2/tools
> In directory
> sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24090/tools/build/v2/tools
>
> Modified Files:
> gcc.jam msvc.jam rc.jam
> Log Message:
> Add support for toolset specific resource compiler tool. Make gcc toolset
> configure a resource compiler if available, and optionally can be user
> configured. This allows the use of RC files with MinGW and CGYWIN. MSVC
> minor adjustment to changed name of RC rule.
> +
> + #~ - The resource compiler.
> + local rc =
> + [ common.get-invocation-command gcc
> + : windres : [ feature.get-values <rc> : $(options) ] : $(bin)
> : PATH ] ; + local rc-type =
> + [ feature.get-values <rc-type> : $(options) ] ;
> + rc-type ?= windres ;
> + rc.configure $(rc) : $(condition) : <rc-type>$(rc-type) ;
Rene, with this patch you'll get:
warning: toolset gcc initialization: can't find tool windres
on a vanilla Linux system, becase 'common.get-invocation-command' checks if
the tool exists. Maybe, this logic should be activated only on NT/CYGWIN?
- 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