Re: [CMake] How to set Windows DLL version information

2009-01-30 Thread Hendrik Sattler
Philip Lowman schrieb: > 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? No. HS ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/l

Re: [CMake] How to set Windows DLL version information

2009-01-29 Thread Philip Lowman
On Thu, Jan 29, 2009 at 5:49 AM, Hendrik Sattler 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 bu

Re: [CMake] How to set Windows DLL version information

2009-01-29 Thread Hendrik Sattler
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 tho

Re: [CMake] How to set Windows DLL version information

2009-01-29 Thread Anders Backman
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 sol

Re: [CMake] How to set Windows DLL version information

2009-01-29 Thread Hendrik Sattler
Anders Backman schrieb: > so set_target_properties(target PROPERTIES VERSION 1.1 SOVERSION 1.1) > > doesnt work under windows then? No. A RC file is not created automatically. A bit complicated as other information is included in that file, too. However, you can use configure_file to automaticall

Re: [CMake] How to set Windows DLL version information

2009-01-29 Thread Anders Backman
so set_target_properties(target PROPERTIES VERSION 1.1 SOVERSION 1.1) doesnt work under windows then? /A 2008/12/26 David Cole : > Add an *.rc file with the correct VS_VERSIONINFO resource in it as a source > file for your dll... > set(source_files > blah1.cpp > blah2.cpp > mydll.rc > )

Re: [CMake] How to set Windows DLL version information

2008-12-26 Thread David Cole
Add an *.rc file with the correct VS_VERSIONINFO resource in it as a source file for your dll... set(source_files blah1.cpp blah2.cpp mydll.rc ) add_library(mydll SHARED ${source_files}) On Fri, Dec 26, 2008 at 1:50 AM, sherman wilcox wrote: > Hi, I am trying to find information about ho

[CMake] How to set Windows DLL version information

2008-12-25 Thread sherman wilcox
Hi, I am trying to find information about how to add version information to Windows DLLs. Something like adding a resource to the DLL so that specific version information (product version, name, etc.) shows up when the DLL properties are displayed. Simple file-version resource stuff (VS_VERSIONINFO