# Build Egoboo from source: Instructions for Linux/CLANG

Ensure CMake 3.10.1 and CLANG 4.0 or higher are installed. To compile Egoboo, open a console, change to the directory in which the source of the library is located in, and enter

cmake CMakeLists.txt
make all


CMake respects the CC and CXX upon detecting the C and C++ compiler to use. For building using CLANG instead of GCC it might be required to prefix the above commands with

export CC=/usr/bin/clang
export CXX=/usr/bin/clang++


To execute the unit tests, enter

make check