While actively working through the docs, things are slowly getting clearer to me … and new questions arise:
- Is CPackArchive the only generator for source packages?
- All other CPack generators generate installers?
CPackArchive is normally run from
CPackSourceConfig.cmake or from target
package_source. When I run it from
CPackConfig.cmake or from
package it generates an empty archive.
- Is this my fault? How to install files so that they make it into the archive?
- Or does it make no sense to run CPackArchive from
CPackConfig.cmake, and should be forbidden?