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 <[EMAIL PROTECTED]>:
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
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake