[cmake-developers] CPack RPM in next RC (if there is one)?

Eric Noulard eric.noulard at gmail.com
Sun Feb 6 15:58:02 EST 2011


Hi,

I did push this
CPackRPM-HonorAllComponentWays
branch on stage + merge to next.

I'll wait the Dashboard dance in order to be sure but,
if there is one RC left before 2.8.4 it would be nice to include this patchset.

With this patchset both CPack ArchiveGenerators (TGZ, ZIP, etc...)  and RPM
will support the same configurable ways to package components.

default
   --> No Component Support (for backward compatibility)
CPACK_<GENNAME>_COMPONENT_INSTALL=1
     default
        --> one package per component group
     CPACK_COMPONENTS_IGNORE_GROUPS=1
 or CPACK_COMPONENTS_GROUPING=IGNORE
        --> one package per component (groups are ignored)

etc... see:
http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack#Controlling_packaging_of_component-aware_generators

before that ArchiveGenerators did supports alls packaging ways but
CPackRPM did only supports
1 package per component
(whatever the value you give in  CPACK_COMPONENTS_xxx)


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org



More information about the cmake-developers mailing list