[CMake] CMAKE_xxx_LIBRARY_PREFIX
Eric Noulard
eric.noulard at gmail.com
Fri Sep 28 11:55:37 EDT 2007
Can anyone explain me why
the default CMAKE_xxx_LIBRARY_PREFIX
used for MinGW compiler is 'lib' and not ''.
When I compile my lib "marvelous"
on windows:
- using CMake + Visual Studio I get :
marvelous.dll
- using CMake + MinGW I get:
libmarvelous.dll
this seems un-homogeneous choice for the same windows plateform.
I did change the behaviour using:
IF (MINGW)
SET(CMAKE_SHARED_LIBRARY_PREFIX "")
SET(CMAKE_STATIC_LIBRARY_PREFIX "")
ENDIF (MINGW)
Any good reason for that choice?
--
Erk
More information about the CMake
mailing list