Re: [CMake] Adding files to ARCHIVE packages only in CPack

2015-09-25 Thread Bruno Barberi Gnecco
On 09/25/2015 05:27 AM, Eric Noulard wrote: 2015-09-24 22:42 GMT+02:00 Bruno Barberi Gnecco <brun...@corollarium.com <mailto:brun...@corollarium.com>>: How is it possible to add some files only to the ARCHIVE generators with CMake/CPack? Apparently components do

[CMake] Adding files to ARCHIVE packages only in CPack

2015-09-24 Thread Bruno Barberi Gnecco
How is it possible to add some files only to the ARCHIVE generators with CMake/CPack? Apparently components do that, but I can't figure how to say "only add component X to generator Y". I did something like this: In CPackConfig.cmake: set(CPACK_PROJECT_CONFIG_FILE