[CMake] Distinguishing between source and binary packages with CPack?

Hendrik Sattler post at hendrik-sattler.de
Mon Nov 10 17:34:20 EST 2014



Am 10. November 2014 21:45:26 MEZ, schrieb SF Markus Elfring <elfring at users.sourceforge.net>:
>Hello,
>
>Software package formats like DEB and RPM can help to distinguish
>the provided contents between source and binary files.
>https://wiki.debian.org/SourcePackage
>http://www.rpm.org/max-rpm/s1-rpm-miscellania-srpms.html

This question is twisted.
There is no need for a .src.rpm when you don't embed the build rules into it. However, that only makes sense for distributions that have a package maintainer for the software, creates a source package with all build options and distribution adaptions.

See it as a special format to help implement build infrastructure tools.

HS



More information about the CMake mailing list