$ make check
make check builds and runs the suite in three configurations:
check_default— library defaults: no SIMD, no multithreading, no exceptions.check_features—TINYOBJLOADER_USE_MULTITHREADING,TINYOBJLOADER_USE_SIMD, andTINYOBJLOADER_ENABLE_EXCEPTIONall enabled.check_nofastfloat—TINYOBJLOADER_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
Assume
- ninja 1.4+
- python 2.6+
Are installed.
$ python kuroga.py config-posix.py
$ ninja
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