Build version 3.00
Derek Parnell
derek at psych.ward
Tue Jun 6 16:54:46 PDT 2006
On Tue, 06 Jun 2006 10:48:42 -0400, dickl wrote:
> Derek Parnell wrote:
>> The next release of Build is now available.
>>
>> See http://www.dsource.org/projects/build/wiki for more details.
>>
>
> Under Windows, Build seems to think that every file for which there is a
> rule is a Windows Resource File.
>
> For example, I have a rule to take "resource.h" and make "resource.d" so
> it can be included by other modules. Build executes the rule creates the
> .KSP file as follows
>
> foo.obj+resource.obj
> foo.exe
> foo.map
> gdi32.lib+advapi32.lib+(and etc)
> foo.def
> foo.res+resource.d
> /noi/map
>
> The linker doesn't like resource.d as a resource file.
>
> The rule looks like this:
>
> rule=ResourceDefs
> in=h
> out=d
> tool=makeid {@IN} {@OUT}
>
> The problem should also extend to any rule that doesn't create a
> resource file but haven't verified that.
>
> A quick fix would be to add a check in ProcessExternal() to only pass
> files with the extension ".RES" to AddLink().
Damn! That was on my TODO list and I forgot about it. Looking good for 3.01
;-)
--
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Down with mediocracy!"
7/06/2006 9:52:29 AM
More information about the Digitalmars-d-announce
mailing list