Commit graph

6 commits

Author SHA1 Message Date
Stephen Gutekanst
c96ff64958 model3d: disable alignment sanitizer for all of model3d
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-11-14 18:14:35 -07:00
Keith Chambers
d21cce37a4
model3d: set cross-target when compiling statically (#616)
This is required for building with a non-native target, otherwise library is build for the native platform and attempts to link fail
2022-11-14 17:53:48 -07:00
Stephen Gutekanst
917b0eb8be model3d: disable UBSan alignment sanitization on m3d_load
Works around: https://gitlab.com/bztsrc/model3d/-/issues/19

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-11-14 16:52:36 -07:00
Keith Chambers
731e2b1287
{mach,model3d}: link model3d as static lib instead of adding C files to build step (#613)
This allows the library to link better with projects. Otherwise you can end up with a mix of conflicts over that compiler + version to use.

Also adds .use_model3d option to mach build system. If set to true, model3d will be linked in statically to target project.
2022-11-14 15:43:53 -07:00
Stephen Gutekanst
7beb89fac6 {dev,model3d}: ensure model3d has standard project files
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-10-22 07:45:50 -07:00
Ali Chraghi
3ea1dea4f7
model3d: add m3d implementation / bindings (#589) 2022-10-21 07:42:01 -07:00