Re: [CMake] Only install one component in cpack

2016-08-25 Thread tonka tonka
Thx. Works perfectly :-D Am 25.08.2016 13:56 schrieb "Eric Noulard" : > Hi Tonka, > > You should read the doc here: > https://cmake.org/cmake/help/v3.5/module/CPackComponent.html > > for the ZIP generator you should > > set(CPACK_ARCHIVE_COMPONENT_INSTALL ON) > this is necessary because archive g

Re: [CMake] Only install one component in cpack

2016-08-25 Thread Eric Noulard
Hi Tonka, You should read the doc here: https://cmake.org/cmake/help/v3.5/module/CPackComponent.html for the ZIP generator you should set(CPACK_ARCHIVE_COMPONENT_INSTALL ON) this is necessary because archive generator are "MONOLITHIC" by default. set(CPACK_COMPONENTS_GROUPING IGNORE) with this

[CMake] Only install one component in cpack

2016-08-25 Thread tonka tonka
Hey, I want to create a zip file with only one component in it. Installers like nsis respect the CPACK_COMPONENTS_ALL settings, but the zip generator ignores it. Can I do that? Alternatively I would like to split every component into a single zip file, I know that it is possible but I forgot how