cmakeme_pack¶
Simple wrapper around CPack. Create Debian, ArchLinux, and archives of the installation. Building the packages is triggered with cpack or the package target (e.g., make package) Essentially, this is a limited subset of cpack functionality in an easier-to-use form and added support for Archlinux.
Find this module with find_package(cmakeme)
Commands¶
-
cmakeme_package¶
The cmakeme_package function generates binary packages from a cmake installation.
The packages are built as a a result of the package target or running cpack
Generates tar.gz, .zip, .deb, and archlinux packages.
cmakeme_package(EMAIL email
[ARCH_64 | ARCH_ANY ]
[DEBIAN_DEPENDS d1...]
[DEBIAN_RECOMMENDS r1 ...]
[ARCHLINUX_DEPENDS a1...]
[ARCHLINUX_RECOMMENDS a1...])
EMAIL email
The email address of the maintainer
ARCH_64 | ARCH_ANY
Platform for the package either x64 Linux or platform-indepedent (e.g., source only package)
DEBIAN_DEPENDS
Dependencies for the debian package
DEBIAN_RECOMMENDS
Optional dependencies for debian package
ARCHLINUX_DEPENDS
Dependencies for the archlinux package
ARCHLINUX_RECOMMENDS
Optional dependencies for arch linux