[Cmake] SET_MSPROJECT_TEMPLATES_DIRECTORY( something )

Geoffrey Cross geoff at robots.ox.ac.uk
Tue Dec 11 08:29:25 EST 2001


> Your command was never a command, and it is still there.
> You simply set this variable in cmake: 
> MSPROJECT_TEMPLATE_DIRECTORY and cmake will use a different 
> template directory.

Ah... That was what I did, was it :).  No wonder I couldn't find it.  I
just assumed, as it was no longer used, it would have been removed.

> You can however use .def files in cmake.
> 
> We use it when building zlib.def:
> 
>    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?





More information about the CMake mailing list