|
MathFu
An open source project by
FPL.
|
Following are the minimum required versions of tools and libraries you need to build MathFu for Android:
Prior to building, install the following components using the Linux distribution's package manager:
For example, on Ubuntu:
make to build the unit tests and benchmarks.For example:
To perform a debug build:
Build targets can be configured using options exposed in mathfu/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:
to switch to a release build CMAKE_BUILD_TYPE must be explicitly specified:
Each benchmark binaries are located in the benchmarks/ directory and unit test binaries are located in the unit_tests/ directory.
To run all benchmarks:
benchmarks/ directory.For example:
To run all unit tests:
unit_tests/ directory.For example: