Test in both C and C++ (#58)

* Switch to custom unit testing that is compatible with C

* Remove Google Test framework

* Attempt to fix missing math functions

* Link against C math library

* Try forcing c99 again

* Include -lm at compile time

* Move -lm argument to the end

* Update README and gitignore
This commit is contained in:
Ben Visness
2017-04-07 08:47:54 -05:00
committed by GitHub
parent 67b84dece7
commit cf606db217
11 changed files with 2050 additions and 1828 deletions

4
test/HandmadeMath.c Normal file
View File

@@ -0,0 +1,4 @@
#define HANDMADE_MATH_IMPLEMENTATION
#define HANDMADE_MATH_NO_INLINE
#include "../HandmadeMath.h"