[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    RE: [Cmake] SET_MSPROJECT_TEMPLATES_DIRECTORY( something )
From:       "William A. Hoffman" <bill.hoffman () kitware ! com>
Date:       2001-12-11 13:40:48
Message-ID: 5.0.2.1.0.20011211083828.02ecb858 () pop ! nycap ! rr ! com
[Download RAW message or body]

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@public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic