Add an *.rc file with the correct VS_VERSIONINFO resource in it as a source file for your dll...<div><br></div><div>set(source_files</div><div> blah1.cpp</div><div> blah2.cpp</div><div> mydll.rc</div><div> )</div><div>
add_library(mydll SHARED ${source_files})</div><div><br><br><div class="gmail_quote">On Fri, Dec 26, 2008 at 1:50 AM, sherman wilcox <span dir="ltr"><<a href="mailto:wilcox.sherman@gmail.com">wilcox.sherman@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi, I am trying to find information about how to add version<br>
information to Windows DLLs. Something like adding a resource to the<br>
DLL so that specific version information (product version, name, etc.)<br>
shows up when the DLL properties are displayed. Simple file-version<br>
resource stuff (VS_VERSIONINFO) - I see a line in the changelog that<br>
indicates CMake seems to support something like this. The line I'm<br>
referring to is: "add support for windows dll version numbers" - I'm<br>
not having much luck locating any information on the topic though. Can<br>
anyone nudge me in the right direction?<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>