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

Steven Van Ingelgem steven at vaningelgem.be
Sun Mar 22 05:19:49 EDT 2009


That did the trick! Thanks for pointing it out.

2009/3/22 Philip Lowman <philip at yhbt.com>

> 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/20090322/914beaeb/attachment.htm>


More information about the CMake mailing list