[CMake] creating a library -- folder layout??
Cristobal Navarro
axischire at gmail.com
Wed Sep 14 09:35:38 EDT 2011
thanks Eric!
Cristobal
On Tue, Sep 13, 2011 at 7:12 PM, Eric Noulard <eric.noulard at gmail.com>wrote:
> 2011/9/13 Cristobal Navarro <axischire at gmail.com>:
> > hello everyone!
> > this is my first post on the mailing list
> > i am making a shared library
> > i have everything configured properly so that cmake creates de makefile
> > scripts as espected
> > at the moment cmake is installing my library by default into:
> > /usr/local/lib/mylib.so.0.1 (and the symlink mylib.so)
> > /usr/local/include/mylib.h
> > my question is, how can i make it to install into it's own folder?? so
> > everything lays inside
> > /usr/local/mylib-0.1/...
>
> use the DESTINATION argument of the INSTALL CMake command.
> and/or read the whole doc of the INSTALL CMake command.
>
> i.e.
>
> install(TARGETS mylib DESTINATION mylib-0.1)
>
> --
> Erk
> Membre de l'April - « promouvoir et défendre le logiciel libre » -
> http://www.april.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110914/98644ff3/attachment.htm>
More information about the CMake
mailing list