MathFu
An open source project by FPL.
 All Classes Namespaces Files Functions Variables Typedefs Friends Groups Pages
Building for Windows

Version Requirements

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

Prerequisites

Prior to building, install the following:

Building with Visual Studio

Generate the Visual Studio project using CMake:

cd mathfu
cmake -G "Visual Studio 11 2012" .

Open the MathFu solution in Visual Studio.

  • Double-click on mathfu/MathFu.sln to open the solution.
  • Select "Build-->Build Solution" from the menu.

Running Applications

Running in Visual Studio

Open Visual Studio select a build target and run it:

  • Double-click on mathfu/MathFu.sln to open the solution in Visual Studio.
  • Right click on a project, for example matrix_tests, select "Set as StartUp Project" from the menu.
  • Select "Debug-->Start Debugging" from the menu.

Running from the Command Line

To run all benchmarks:

  • Open a command line window.
  • Go to the MathFu project directory.
  • Run each benchmark binary in the benchmarks/ directory.

For example:

cd mathfu
for %a in (benchmarks\Debug\*.exe) do %a

To run all unit tests:

  • Open a command line window.
  • Go to the MathFu project directory.
  • Run each unit test binary in the unit_tests/ directory.

For example:

cd mathfu
for %a in (unit_tests\Debug\*.exe) do %a