[CMake] Making MEX file from CMAKE

Prename Surname bsd.diverse at gmail.com
Fri Oct 20 05:07:53 EDT 2006


Hello. I want to use CMAKE to create mex file for matlab. But i seem to be
doing something wrong.
I need to specify output as DLL. which i can use ADD_LIBRARY(... MODULE ...)
for.

The problem is that apparently i also need to  make sure mexFunction is an
exported symbol in the dll.

The mexFunction is the main function in my dll. And i dont really know how
to make CMAKE setup visual studio 8 to do this.
I hope someone can help me.
Many regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20061020/db4fa618/attachment.html


More information about the CMake mailing list