Pie Noon
An open source project by FPL.
 All Classes Pages
Building for Linux

Version Requirements

Following are the minimum required versions for the tools and libraries you need for building Pie Noon for Linux:

Before Building

Prior to building, install the following components using the Linux distribution's package manager:

For example, on Ubuntu:

sudo apt-get install cmake
sudo apt-get install libglapi-mesa
sudo apt-get install libglu1-mesa-dev
sudo apt-get install autoconf automake libtool
sudo apt-get install python
sudo apt-get install webp
sudo apt-get install ragel

Building

  • Generate makefiles from the cmake project in the pie_noon directory.
  • Execute make to build the game.

For example:

cd pie_noon
cmake -G'Unix Makefiles'
make

To perform a debug build:

cd pie_noon
cmake -G'Unix Makefiles' -DCMAKE_BUILD_TYPE=Debug
make

Build targets can be configured using options exposed in pie_noon/CMakeLists.txt by using cmake's -D option. Build configuration set using the -D option is sticky across subsequent builds.

For example, if a build is performed using:

cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug
make

to switch to a release build CMAKE_BUILD_TYPE must be explicitly specified:

cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
make

Executing the game.

After building the project, you can execute the game from the command line. For example:

./bin/pie_noon