[Cmake] SET_MSPROJECT_TEMPLATES_DIRECTORY( something )
William A. Hoffman
bill.hoffman at kitware.com
Tue Dec 11 08:40:48 EST 2001
A .def file simply lists the names of symbols you want exported from a dll.
The /export:mexFunction is a way to export the function named mexFunction
from a dll.
If mexFunction was in your libmat.def file, it would be exported as well.
You can also do the same thing in your code with declspec(export).
See CMake/Tests/Complex/Library/ for how to create and export symbols with
declspec.
-Bill
At 01:29 PM 12/11/2001 +0000, Geoffrey Cross wrote:
> > SOURCE_FILES(MEX_SRCS
> > c:\geoff\pkg\matlab\extern\include\libmat.def )
> >
> > You could put the /export:mexFunction in the .def file. and
> > you would have the same result without a separate template directory.
>
>No idea what .def files do, are they included in the dsp or something?
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake
More information about the CMake
mailing list