Chapter 11.2 : Package creation



To create package you have to enable the proper extention :
  • DEB for Debian and Ubuntu : -DCREATE_DEB=yes
  • RPM for Fedora : -DCREATE_RMP=yes
  • DMG for Mac OS / OSX : -DCREATE_DMG=yes


Example for DEB :
cmake .. -DCMAKE_MODULE_PATH=PhoenixCMake/Prefix/share/cmake -DPACKAGE_MODE=yes -DCREATE_DEB=yes


Then, call the package target as in section 11.1 :
make package


In this example, it will create a .deb because we activated -DCREATE_DEB=yes in the cmake call.