Subject: Re: [Boost-build] MSVC resource compiler problem
From: Phillip Seaver (phil_at_[hidden])
Date: 2009-02-18 15:50:59
Juergen Hunold wrote:
> Hi Ian !
>> I have a very simple jam file (see below) that fails with the error
>> message shown at the bottom of this message. If I remove the line
>> "<toolset>msvc:<source>Version.rc", then this builds perfectly,
>> except, of course, that the resources are not linked into the
>> executable. What am I doing wrong?
> First, why do you use this workaround ? At least for gcc, .rc files
> should be processed by a null action, so adding "Version.rc" to the
> source list should work. If this does not work for one of your
> platform, please tell us which.
I'll bet he does for the same reason I do -- that is, .rc files are
platform-specific files, therefore I assumed that toolsets other than
msvc wouldn't know what to do with them.
I can't find anything in the documentation that explicitly says that,
either. The comment inside gcc.jam says it, but I don't usually go
through the code unless I need something. :->
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