[CMake] Creating an installer using cpack

J Decker d3ck0r at gmail.com
Fri Jan 9 15:55:59 EST 2015


On Fri, Jan 9, 2015 at 12:54 PM, Domen Vrankar <domen.vrankar at gmail.com>
wrote:

> > install( PROGRAM .... ) will keep executable permissions...  (as opposed
> to
> > using FILES or DIRECTORY )  not sure about symlinks....
>
> Hm forgot about this one... Had problems with it years ago on AIX and
> stopped using it back then (it removed baked in paths to libraries
> from executables)... Time to try it out again :)
>
> > http://www.cmake.org/cmake/help/v3.0/command/install.html only
> references
> > symbolic links once, and that's for Install( TARGET ... ) " Either
> > NAMELINK_ONLY or NAMELINK_SKIP may be specified as a LIBRARY option. On
> some
> > platforms a versioned shared library has a symbolic link such as:"
>
> You can create a symlink with a custom command or by using
> execute_process with cmake -E create_symlink command and then moving
> it into package with for eg install(DIRECTORY ...).
>
> the symlinks already exist in the source directory (it sounds like) the
problem is they're not being packaged/extracted right....


> Regards,
> Domen
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150109/b4831d6e/attachment-0001.html>


More information about the CMake mailing list