Isn't the "lib" prefix simply the default you would get if you built a dll (even without cmake) with MinGW gcc?
On 9/28/07, Eric Noulard <[EMAIL PROTECTED]> wrote: > 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 > _______________________________________________ > CMake mailing list > [email protected] > http://www.cmake.org/mailman/listinfo/cmake > _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
