Skip to content
Thomas Debesse edited this page Jun 21, 2015 · 6 revisions

Get the XQF's source code

Get the source code (see Downloads), for example using git:

git clone https://github.com/XQF/xqf.git
cd xqf

Create a build directory

cmake allows out-of-tree compilation, so just create a build directory and go inside:

mkdir build
cd build

Prepare the build

cmake ..

Note: If you are running Debian or Ubuntu, use cmake -DWITH_QSTAT=/usr/bin/quakestat -DCMAKE_INSTALL_PREFIX=/usr ..

Build XQF

make

Note: If you want to cross compile XQF (for example compile XQF for arm from an x86 box), you must compile gamesxml2xc for your x86 box first to be able to generate the games.c file first. When your build/games.c file is generated from src/games.xml, just use make to compile xqf.

Install XQF

make install

Note: If you are using checkinstall, it was noticed that the --fstrans option does not work, so you can't use fakeroot and you must just do something like that: sudo checkinstall.

Run XQF

xqf
Clone this wiki locally