Can I build lwjgl3 without certain packages?

Started by Twk Amz, August 18, 2015, 03:39:19

Previous topic - Next topic

Twk Amz

Hi, I was thinking that(as 3.0.0b came out) I don't need things like the ovr or the jemalloc package in my app. But I'm not sure if it is safe to just remove it from the jar.
Is there some way of just compiling lwjgl3 without the parts that I don't need?(that would be jemalloc, ovr, egl, simd, libc packages)
Thanks!

spasi

Yes, you can remove bindings you don't need from the jar. You can also choose the bindings you want to build LWJGL with, here. Set the property that corresponds to a binding to false and that binding will not be included in the build.

Quote from: Twk Amz on August 18, 2015, 03:39:19(that would be jemalloc, ovr, egl, simd, libc packages)

I would recommended against removing jemalloc, it's really powerful and useful. The egl package is not included by default.

Twk Amz

Thanks a lot. I'll take a look at jemalloc then, although I don't understand what it is used for.