<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<META content="MSHTML 6.00.3790.327" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=554003622-28072005>I am trying to 
create a shared library on windows. The cmake project creates the dll, but it 
does not create the import library. What options/commands should I provide to 
get the import library to be generated?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=554003622-28072005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=554003622-28072005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=554003622-28072005>Here is the 
CMakelists.txt file:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=554003622-28072005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=554003622-28072005>
<P><FONT face=Arial 
size=2>INCLUDE_DIRECTORIES(${ELM_SOURCE_DIR}/include)</FONT></P>
<P><FONT face=Arial size=2># Make sure the linker can find the&nbsp;<SPAN 
class=554003622-28072005>3rdParty</SPAN> library</FONT></P>
<P><FONT face=Arial size=2>LINK_DIRECTORIES(${ELM_BINARY_DIR}/lib)</FONT></P>
<P><FONT face=Arial size=2>SET(ELM_SRCS</FONT></P>
<P><FONT face=Arial size=2>elm_monitor.c<SPAN class=554003622-28072005> 
</SPAN>lm_module.c</FONT></P>
<P><FONT face=Arial size=2>)</FONT></P>
<P><FONT face=Arial size=2># source files for elm</FONT></P>
<P><FONT face=Arial size=2>ADD_LIBRARY(elm SHARED ${ELM_SRCS})</FONT></P>
<P></SPAN></FONT><FONT face=Arial size=2><SPAN 
class=554003622-28072005>-Moiz</SPAN></FONT></P></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>