<div class="gmail_quote">On Thu, Jan 29, 2009 at 5:49 AM, Hendrik Sattler <span dir="ltr"><<a href="mailto:post@hendrik-sattler.de">post@hendrik-sattler.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Anders Backman schrieb:<br>
<div class="Ih2E3d">> But I thought the whole idea was to get CMake to handle this?<br>
> It states in the documentation that it should be possible. No<br>
> exclusion about windows as far as I can see.<br>
><br>
> I saw this thread before but as CMake claims to have this<br>
> functionality (multiplatform) I thought that would be a much better<br>
> solution.<br>
><br>
> Comments?<br>
<br>
</div>Read the help of the VERSION property:<br>
"For shared libraries and executables on Windows the VERSION attribute<br>
is parsed to extract a "major.minor" version number. These numbers are<br>
used as the image version of the binary."<br>
<br>
That equals the VERSION tag in a .def file and is unrelated to anything<br>
the the rc file.<br>
<br>
Note that you could do much more things with RC files. The automatism<br>
would only be possible if no RC file is in the source file list.<br>
Additionally, there would be a need to be able to set a VERSION property<br>
per project additionally to setting it for a target. Only then, the<br>
FileVersion and ProductVersion could be automatically filled.<br>
This is all not present currently.</blockquote><div><br>Do you know if there is a way to append this information to the DLL with the linker (FileVersion & ProductVersion), instead of generating an RC file?<br></div></div>
<br>-- <br>Philip Lowman<br>