<P>Hi,</P>
<P>I would like to generate a shared library by using a .def file for export symbols.</P>
<P>The generated makefile does not include def file&nbsp;:</P><FONT color=#000080 size=2>
<P>ADD_LIBRARY</FONT><FONT size=2>(bar SHARED&nbsp;</FONT><FONT color=#7f0055 size=2>File1.c</FONT><FONT size=2> <FONT color=#7f0055>File2.c </FONT></FONT><FONT color=#7f0055 size=2>${CMAKE_CURRENT_SOURCE_DIR}</FONT><FONT size=2>/bar.DEF)</FONT></P>
<P><FONT size=2>--&gt; <FONT size=2>C:/OUTILS/MinGW_3.1.0/bin/gcc.exe -shared -o lib/bar.dll -Wl,--out-implib,lib/libbar.dll.a -Wl,--major-image-version,1,--minor-image-version,2 File1.obj File2.obj </P></FONT></FONT>
<P>How can I fix the problem please ?</P>
<P>Regards, </P>
<P>Sebastien<BR></P><br>

<br><hr><A href="http://r.voila.fr/r?ref=signature_mail_voila_pikeo_1&url=http://pikeo.voila.fr">Ne surchargez plus votre boite mail et celles de vos amis ! Invitez les sur votre espace photo ! </A></DIV>