[CMake] Generating dynamic libraries

Alan W. Irwin irwin at beluga.phys.uvic.ca
Tue Jun 12 12:07:03 EDT 2007


On 2007-06-12 12:37-0300 Welter Luigi Silva wrote:

> Hi,
> which is the command I should use (instead of add_library) to generate a 
> shared library using CMake?
> Sorry if this is a dumb question, but I'm a newbie on this and didn't find 
> any documentation about that in the Cmake faq or wiki pages...
> thx,

You can generate a shared library with ADD_LIBRARY.  See the ADD_LIBRARY
documentation at http://cmake.org/HTML/Documentation.html.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list