An open source project by FPL.
 All Classes Namespaces Files Functions Variables Enumerations Groups Pages
Building for Linux

Version Requirements

Following are the minimum required versions of tools and libraries you need to build FlatUI for Android:


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

For example, on Ubuntu:

sudo apt-get install cmake


  • Open a command line window.
  • Go to the FlatUI project directory.
  • Generate Makefiles from the CMake project.
  • Execute make to build the library and unit tests.

For example:

cd flatui
cmake -G'Unix Makefiles' .

To perform a debug build:

cd flatui
cmake -G'Unix Makefiles' -DCMAKE_BUILD_TYPE=Debug .

Build targets can be configured using options exposed in flatui/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:

cd flatui
cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug .

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

cd flatui
cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .