Skip to content

changes needed to build out-of-source and create the .deb and .rpm packages

Stephane Charette requested to merge stephanecharette/voxelands:master into master

Need an e-mail address for CPACK_DEBIAN_PACKAGE_MAINTAINER at the bottom of the central CMakeLists.txt. Used mine, but I'm not a good contact person since I'm not involved in the project.

With this change, Voxelands can be built out-of-source, and CMake can be used to create RedHat .rpm and Debian/Ubuntu .deb files.

Steps:

  • git clone ...
  • cd voxelands
  • mkdir build
  • cd build
  • cmake -DCMAKE_BUILD_TYPE=Release ..
  • make -j4
  • make package

Merge request reports