[CMake] Windows DLL project generates dll, pdb, ilk but no lib

Philip Lowman philip at yhbt.com
Sat Mar 21 20:11:04 EDT 2009


On Sat, Mar 21, 2009 at 7:09 PM, Steven Van Ingelgem
<steven at vaningelgem.be>wrote:

> Hi all,
>
>
> I have a Windows DLL project.
> This project generates a dll, a pdb, an ilk and an idb...
> And no errors or warnings whatsoever.
>
> But there is no .lib to see?
>
> How can I make it, or how can I figure out why it's not generating it?
>
> I'm using CMake CVS version, and MS VC 2005.


You most likely have not setup your classes and/or function calls to be
exported.  If you have no exported classes/functions Visual Studio will not
generate an import library for you.  See the following documentation on the
CMake wiki for some tips:

http://www.cmake.org/Wiki/BuildingWinDLL

-- 
Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090321/974874db/attachment.htm>


More information about the CMake mailing list