-
Notifications
You must be signed in to change notification settings - Fork 12
How to build
Thomas Debesse edited this page Jun 21, 2015
·
6 revisions
Get the source code (see Downloads), for example using git
:
git clone https://github.com/XQF/xqf.git
cd xqf
cmake
allows out-of-tree compilation, so just create a build
directory and go inside:
mkdir build
cd build
cmake ..
Note: If you are running Debian or Ubuntu, use cmake -DWITH_QSTAT=/usr/bin/quakestat -DCMAKE_INSTALL_PREFIX=/usr ..
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
.
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
.
xqf