[CMake] [CPack] RPM generator and directory symlink

Domen Vrankar domen.vrankar at gmail.com
Thu Oct 16 03:06:41 EDT 2014


> > A workaround that you could use is to specify something like
> >
> > set(CPACK_RPM_bin_USER_FILELIST "%config /subdir")
> >
> > and this will force CPackRPM to treat the symlink as a config file.
>
> What is the meaning of bin in the middle of that variable name?


CPACK_RPM_USER_FILELIST is used for non component packaging and
CPACK_RPM_<COMPONENT>_USER_FILELIST is used for component packaging so bin
is the same name as used in install command: COMPONENT bin.

Here is the documentation for it:
http://www.cmake.org/cmake/help/v2.8.8/cpack.html#variable:CPACK_RPM_USER_FILELIST
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141016/c9985fce/attachment.html>


More information about the CMake mailing list