[CMake] RPM CPack generator, was: How to request features?

Frederik Deweerdt deweerdt at free.fr
Tue Aug 7 10:35:50 EDT 2007


On Mon, Aug 06, 2007 at 06:31:32PM +0200, Eric Noulard wrote:
> 2007/8/6, Alexander Neundorf <a.neundorf-work at gmx.net>:
> 2) Those files MUST define the following variables
> 
>     CPACK_GENERATOR_NAME --> the name of the GENERATOR
>     e.g. SET(CPACK_GENERATOR_NAME "RPM")
> 
>     CPACK_RPM_OK will be set after INCLUDing(CPackRPMGenerator.cmake)
>     such that cpack will know if the generator may be used on the current
>     platform or not.
> 
>     then afterwards
>    CPACK_RPM_TYPE --> the type which may be source, binary, both
>     e.g. SET(CPACK_RPM_TYPE "binary")
>     whereas
>           SET(CPACK_SRPM_TYPE "source")
>     and
>           SET(CPACK_ZIP_TYPE "both")
>           or may be
>           SET(CPACK_ZIP_TYPE "binary;source")
> 
Hi Eric,

How to specify which files go to the -devel RPM and the ones that go to
the plain binary RPM?

Frederik


More information about the CMake mailing list