On Thu, Jan 29, 2009 at 5:49 AM, Hendrik Sattler <[email protected]>wrote:
> Anders Backman schrieb: > > But I thought the whole idea was to get CMake to handle this? > > It states in the documentation that it should be possible. No > > exclusion about windows as far as I can see. > > > > I saw this thread before but as CMake claims to have this > > functionality (multiplatform) I thought that would be a much better > > solution. > > > > Comments? > > Read the help of the VERSION property: > "For shared libraries and executables on Windows the VERSION attribute > is parsed to extract a "major.minor" version number. These numbers are > used as the image version of the binary." > > That equals the VERSION tag in a .def file and is unrelated to anything > the the rc file. > > Note that you could do much more things with RC files. The automatism > would only be possible if no RC file is in the source file list. > Additionally, there would be a need to be able to set a VERSION property > per project additionally to setting it for a target. Only then, the > FileVersion and ProductVersion could be automatically filled. > This is all not present currently. 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? -- Philip Lowman
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
