[CMake] cpack multiple packages

2016-12-21 Thread Dvir Yitzchaki
Hi. I have a big project which produces several zip packages. Some files are common to all packages while others are unique per package. Is there a way to create these packages using cpack? I tried to use components but it seems that either it puts all components in one package or makes one pac

[CMake] CPack multiple packages

2018-07-19 Thread dbegun via CMake
I have a project where a lib and a binary requiring the lib are built in separate subdirs of the project root. Each dir contains its own CMakeLists.txt with build/install targets, and there is also a top level one, which mainly just adds subdirectories etc. I want to add .deb package generation

Re: [CMake] cpack multiple packages

2016-12-21 Thread Eric Noulard
When playing with component you have 3 major way to package which are governed by the value of CPACK_COMPONENTS_GROUPING: 1 package per component -> set(CPACK_COMPONENTS_GROUPING IGNORE) 1 package for all -> set(CPACK_COMPONENTS_GROUPING ALL_COMPONENTS_IN_ONE) 1 package per component group the de

Re: [CMake] cpack multiple packages

2016-12-21 Thread Dvir Yitzchaki
Thanks, but as I understand a component can only belong to one group. How can I get the same component/target on multiple packages? From: Eric Noulard [mailto:eric.noul...@gmail.com] Sent: Wednesday, December 21, 2016 10:42 AM To: Dvir Yitzchaki Cc: cmake@cmake.org Subject: Re: [CMake] cpack

Re: [CMake] cpack multiple packages

2016-12-22 Thread Domen Vrankar
2016-12-21 12:29 GMT+01:00 Dvir Yitzchaki : > Thanks, but as I understand a component can only belong to one group. > > How can I get the same component/target on multiple packages? > Usually you wouldn't want to package same file on same location with same filename since during unpackaging they

Re: [CMake] cpack multiple packages

2017-01-05 Thread Dvir Yitzchaki
, Dvir From: Domen Vrankar [mailto:domen.vran...@gmail.com] Sent: Thursday, December 22, 2016 20:43 To: Dvir Yitzchaki Cc: Eric Noulard ; cmake@cmake.org Subject: Re: [CMake] cpack multiple packages 2016-12-21 12:29 GMT+01:00 Dvir Yitzchaki mailto:dvir.yitzch...@ceva-dsp.com>>: Thanks, bu

Re: [CMake] CPack multiple packages

2018-07-19 Thread Domen Vrankar
2018-07-19 18:00 GMT+02:00 dbegun via CMake : > I have a project where a lib and a binary requiring the lib are built in > separate subdirs of the project root. Each dir contains its own > CMakeLists.txt with build/install targets, and there is also a top level > one, which mainly just adds subdir