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
- Open a terminal
- Use
cd
to set the current directory to the place you cloned the git repository. (eg.cd ~/dev/ProjectAscension
) - Create a build folder, so you can keep your git repository clean. (eg.
mkdir build
) cd
into the build folder.- Run
cmake PA_REPO
, replacing PA_REPO with the location of the git repository. (or `cmake PA_REPO -G "Ninja") make -j$(expr $(nproc) + 1) -l$(nproc)
(orninja
)