[CMake] Re: Making MEX file from CMAKE

Prename Surname bsd.diverse at gmail.com
Fri Oct 20 06:20:19 EDT 2006


Okay, i have boiled it down to the fact that i need to define from cmake, a
"Module definition file"
It seems to be all this needs to be done.
When i set i manually, it works perfectly, but can anyone help me with how i
can set a "Module definition file" from CMAKE ? (I use VS 8.0)


2006/10/20, Prename Surname <bsd.diverse at gmail.com>:
>
> 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/f5b4bf3e/attachment.htm


More information about the CMake mailing list