[Cmake] Two (related) questions

Amitha Perera perera at cs.rpi.edu
Mon Aug 26 01:50:19 EDT 2002


On Sun, Aug 25, 2002 at 06:23:14PM +0100, Geoffrey Cross wrote:
> I'd like to build a shared library under unix with something other than
> a .so extension (I actually want a .mexgl extension because that's what
> matlab expects).  How do I change the target build name for a shared
> library?

For what it's worth, there is the CMAKE_SHLIB_SUFFIX variable in the
cache that may do what you want. However, I think a lot of logic in
CMake explicitly checks for "common" extensions (.a, .so, .sl), and
may fail with a "weird" extension.

Amitha.



More information about the CMake mailing list