This page describes how to create a package.
We create a source package and binary packages for all supported operating systems.
For Linux systems, we have to create both a 32 bit and a 64 bit binary package because the architecture must match the architecture of the libraries installed on the system. The binary packages must be created on a system with the respective architecture. You can use a virtual machine for building the packge for the non-native architecture. For creating the 32 bit package on a 64 bit Ubuntu system, you can also use a chroot set up with debootstrap.
For Windows, it is sufficient to create a 32 bit version because the libraries are included in the package. The compiler and libraries included in the Qt SDK are 32 bit. Therefore, the package can be created on any Windows system.
This can be performed on any operating system. If you use a GUI packager, make sure that the top-level directory is included in the archive.
In the parent directory, execute:
tar cvjf startkladde-x.y.z.tar.bz2 startkladde-x.y.z
In the cmake GUI, enable CPACK_BINARY_DEB
. In the build directory, execute
make package
In the cmake GUI, enable CPACK_BINARY_NSIS
. In the build directory, execute
make package