Recep Aslantas
87092e6849
build: add missing files to project files
2020-07-31 20:09:57 +03:00
Recep Aslantas
40d903c2bc
build: define CGLM_DEFINE_PRINTS to enable print functions for test results
2020-07-31 12:41:53 +03:00
Recep Aslantas
bb751d32ca
2d: add translate2d and its friends
2020-07-31 11:40:52 +03:00
Recep Aslantas
6dc37f6cc9
build: CFLAGS for check/test target to match the main target
2020-07-31 00:25:08 +03:00
Recep Aslantas
79c44fdbfa
drop pedantic from C Flags and allow extensions
...
this will also suppress warnings on test target
2020-05-29 13:01:36 +03:00
Uwila
c67f7a14a1
Add ray-triangle intersection check
2020-04-02 14:28:28 +02:00
Recep Aslantas
69b5584f11
build: add missing headers
2020-03-02 10:09:48 +03:00
Recep Aslantas
eb0d47cfa1
vec2: add struct version for vec2 and vec2-ext
2020-02-25 14:34:11 +03:00
Recep Aslantas
ab20ebc28c
build: add vec2 and mat2 files
2020-02-24 22:22:27 +03:00
Recep Aslantas
0c8dc070d5
tests: tests for affine transforms (continue)
2020-02-22 10:29:16 +03:00
Recep Aslantas
c630293c7d
merge test sources into one C source
2020-01-19 22:12:25 +03:00
Carsten Hartenfels
b9aa14d25e
Add a test for struct type initializers
...
To make sure that they all work properly and none of them trigger
warnings.
2019-11-24 16:02:12 -05:00
Carsten Hartenfels
390a5035a8
Use gnu11 instead of gnu99 to get rid of warnings
...
CGLM uses anonymous structs, which is a C11 feature. When trying to
build the tests in C99 mode, you get warnings to that effect. Switching
to C11 fixes this.
2019-11-24 13:32:35 -05:00
Carsten Hartenfels
267348af03
Build tests with the same flags as the library
...
In particular, with the same warning flags. That means it now warns
about a few things during compilation that the following commits are
gonna fix.
2019-11-24 13:32:35 -05:00
Carsten Hartenfels
c83f25343f
Error out on invalid empty prototypes
...
This way, a function prototype like `glms_mat3_identity()` will not
compile, instead you have to change it to the proper
`glms_mat3_identity(void)`.
2019-11-23 10:10:27 -05:00
Recep Aslantas
9987e1374b
build: remove duplicate entry in makefile
...
close #108
2019-11-17 10:22:01 +03:00
Recep Aslantas
b893c79086
Update Makefile.am
2019-11-07 22:41:41 +03:00
Recep Aslantas
9ab9e95ce5
Custom Built-in Unit Test Suite ( #105 )
...
* tests: new built-in test runner
* tests: update tests for new builtin test api
* tests: print test suite logs
* tests: remove cmocka from build files
* tests: colorize test suite log and remove redundant prints
2019-09-12 06:56:44 +03:00
Carsten Hartenfels
b231645131
Capitalize Makefiles, sometimes matters on Linux
...
Lowercased Makefiles don't get picked up by the .gitignore for example,
which always looks odd after configuring. This commit just puts a
capital 'M' in front, like it's common.
2019-06-23 13:48:02 +02:00