You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
'install' commands can receive 'COMPONENT' arguments (one per target file
kind). Upon request, CMake can install only the files associated to a given
component. This will be used to generate separate archives/pacakges/installers
with CPack.
The following components are declared:
- runtime (libparameter and libremote-processor);
- dev (everything necessary to develop a plugin or a client: headers, cmake
package files, ...);
- c (the C bindings, i.e. libcparameter);
- cdev (everything necessary to develop a client using the C bindings);
- python (the Python bindings);
- eng (the various tools, XML schemas, ...);
- runtime-deps (on windows only: the msvc redistributable files).
Unfortunately, per-component debian package generation and automatic dependency
discovery (using shlibdeps) do not work together before CMake 3.4. Also,
per-component debian package dependency declaration has been added in CMake
3.4, so it is not possible yet to declare, for instance, that the 'dev' package
depends on the 'runtime' package.
However, the following works and generates one archive for each component:
cpack -G TGZ -D CPACK_ARCHIVE_COMPONENT_INSTALL=ON
Signed-off-by: David Wagner <[email protected]>
0 commit comments