Hi all,
I am trying to compile a python module with cmake. Unfortunately, in
python 2.5.2 they have decided that
C modules will use the extension .pyd, instead of .dll under windows.
So, I have to somehow rename
a dll during installation. I currenlty have code like:
INSTALL ( TARGETS
This is what I use for my own expat library:
#- Use MSVC Naming conventions for Shared Libraries
IF (MINGW AND BUILD_SHARED_LIBS)
SET_TARGET_PROPERTIES( expat
PROPERTIES
IMPORT_SUFFIX .lib
IMPORT_PREFIX
PREFIX
)
ENDIF (MINGW AND BUILD_SHARED_LIBS)