<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<a href="http://www.cmake.org/Wiki/BuildingWinDLL">http://www.cmake.org/Wiki/BuildingWinDLL</a><div><br></div><div>Take a look, send feedback or just correct any errors.. </div><div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Bitstream Vera Sans; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-- </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Mike Jackson Senior Research Engineer</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Innovative Management & Technology Services</div><br class="Apple-interchange-newline"></span> </div><br><div><div>On Aug 19, 2008, at 9:35 AM, Jos.van.den.Oever@panalytical.com wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><tt><font size="2">Perhaps it's a idea to add an entry to http://www.cmake.org/Wiki/CMake_FAQ then.</font></tt><span class="Apple-converted-space"> </span><br><tt><font size="2">Something that says: If there is no __declspec( dllexport ) in your header, only a dll and no lib is generated.</font></tt><span class="Apple-converted-space"> </span><br><tt><font size="2">CMake only tells the linker about the .lib, so if __declspec( dllexport ) is not there linking fails even though there is a .dll file.</font></tt><span class="Apple-converted-space"> </span><br><br><tt><font size="2">Thanks,</font></tt><span class="Apple-converted-space"> </span><br><tt><font size="2">Jos</font></tt></span></blockquote></div><br></div></body></html>