<div class="gmail_quote">On Thu, Jan 29, 2009 at 5:49 AM, Hendrik Sattler <span dir="ltr">&lt;<a href="mailto:post@hendrik-sattler.de">post@hendrik-sattler.de</a>&gt;</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">&gt; But I thought the whole idea was to get CMake to handle this?<br>
&gt; It states in the documentation that it should be possible. No<br>
&gt; exclusion about windows as far as I can see.<br>
&gt;<br>
&gt; I saw this thread before but as CMake claims to have this<br>
&gt; functionality (multiplatform) I thought that would be a much better<br>
&gt; solution.<br>
&gt;<br>
&gt; Comments?<br>
<br>
</div>Read the help of the VERSION property:<br>
&quot;For shared libraries and executables on Windows the VERSION attribute<br>
is parsed to extract a &quot;major.minor&quot; version number. &nbsp;These numbers are<br>
used as the image version of the binary.&quot;<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 &amp; ProductVersion), instead of generating an RC file?<br></div></div>
<br>-- <br>Philip Lowman<br>