[CMake] CMAKE_xxx_LIBRARY_PREFIX

Eric Noulard eric.noulard at gmail.com
Fri Sep 28 12:17:51 EDT 2007


2007/9/28, David Cole <david.cole at kitware.com>:
> Isn't the "lib" prefix simply the default you would get if you built a
> dll (even without cmake) with MinGW gcc?

That I don't really know.

But I would think that you _MUST_ specify the output name
using -o option just like you would with gcc when
you build a shared lib.

See for example for

cygwin:
http://www.cygwin.com/cygwin-ug-net/dll.html
or
mingw FAQ:
http://www.mingw.org/mingwfaq.shtml#faq-msvcdll


-- 
Erk


More information about the CMake mailing list