Building Project Ascension on Linux - Proj-Ascension/Client GitHub Wiki

Dependencies

These dependencies can vary depending on your distribution. Use your distribution's package manager to install these.

  • CMake

  • Boost

  • Qt5

  • GCC 4.8 or higher, clang 3.1 or higher (just get C++11 support)

  • Ninja (optional)

    We use Ninja internally and on our travis builds, due to the speed advantanges, but normal GNU make works fine

  • Project Ascension (duh)

    The client team uses git, but if you just want to test the project, you can download a stable or unstable archive of the repo.

Process

  1. Open a terminal
  2. Use cd to set the current directory to the place you cloned the git repository. (eg. cd ~/dev/ProjectAscension)
  3. Create a build folder, so you can keep your git repository clean. (eg. mkdir build)
  4. cd into the build folder.
  5. Run cmake PA_REPO, replacing PA_REPO with the location of the git repository. (or `cmake PA_REPO -G "Ninja")
  6. make -j$(expr $(nproc) + 1) -l$(nproc) (or ninja)