2010/8/22 Rolf Eike Beer <e...@sf-mail.de>: > Am Saturday 21 August 2010 schrieb Eric Noulard: > >> They change the number and the contents of the generated packages: >> 3.a) CPACK_COMPONENTS_ALL_GROUPS_IN_ONE_PACKAGE=1 >> means you want to get a single package whose content >> is the merge of all components GROUPS >> >> 3.b) CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE=1 >> means you want to get a single package whose content >> is the merge of all COMPONENTS >> >> 3.c) CPACK_COMPONENTS_IGNORE_GROUPS >> means you want to get 1 package per COMPONENT >> (the default is 1 package per GROUP) > > AFAICS those are exlusive, so why don't you use a single variable with 3 > different values that prints a big fat warning if it is set to anything else > to > make error detection easier?
Yes they are exclusive. I think the main reason for separate variables is because its "usually" the way it works with CPack/CMake there are more toggle var 0/1 than switches values vars. But this is a good point what do you suggest: CPACK_COMPONENTS_GROUPING with possible values: ALL_GROUP_IN_ONE ALL_COMPONENT_IN_ONE IGNORE_GROUP -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake