Skip to content

Latest commit

 

History

History

README.md

Build&Test

Use makefile

$ make check

make check builds and runs the suite in three configurations:

  • check_default — library defaults: no SIMD, no multithreading, no exceptions.
  • check_featuresTINYOBJLOADER_USE_MULTITHREADING, TINYOBJLOADER_USE_SIMD, and TINYOBJLOADER_ENABLE_EXCEPTION all enabled.
  • check_nofastfloatTINYOBJLOADER_DISABLE_FAST_FLOAT (exercises the hand-written fallback float parser), otherwise defaults.

Run a single configuration with make check_default, make check_features, or make check_nofastfloat.

Additional fuzz targets:

$ make obj-fuzz
$ make llvm-fuzz

Use ninja + kuroga

Assume

  • ninja 1.4+
  • python 2.6+

Are installed.

Linux/MacOSX

$ python kuroga.py config-posix.py
$ ninja

Windows

Visual Studio 2013 is required to build tester.

On Windows console.

> python kuroga.py config-msvc.py
> vcbuild.bat

Or on msys2 bash,

$ python kuroga.py config-msvc.py
$ cmd //c vcbuild.bat