[FFmpeg-devel] Adding .rc files for win32

Víctor Paesa wzrlpy
Thu May 15 16:57:43 CEST 2008


Hi,

Jeremy Kolb
> Hi,
>
> I want to add a .rc file for the av* dlls on windows.  This would allow
> the embedding of versioning information in the dll that windows explorer
>  can read (think right clicking on the dll and choosing version, you get
>  legal notices, credits, version numbers etc).  The benefits are:
>
> 1.  Making it easier for users to identify which version of a dll they
> have on their system.
> 2.  Windows installers can query the dll version which makes updating
> easier.
>
> My question is how to go about doing this.  I was thinking of including
> a skeleton .rc file for each lib, sed in the appropriate version
> information in the make process,, writing to a new rc file,converting it
>  to a .o file with cvtres and then linking that in the final dll.

May I suggest "windres" (part of GNU binutils) instead of "cvtres"?

> However I also noticed that in configure there is a pkgconfig_generate()
>  function.  I could also go the route of creating a similar function for
>  .rc files and generate them on the fly.  Which would be the preferred
> method?

Regards,
V?ctor






More information about the ffmpeg-devel mailing list