Disable bullet serializer
Posted: Sat Nov 27, 2010 2:38 am
Hello,
Im using bullet with my own cmakefiles derived from the original ones but the serializer wouldn't compile on win7 64, most likely due to my own fault. Since I wont be needing the embedded serializer i decided to #ifdef serialization and their data structures out.
Disabling the serializer doesn't really save much. Performance is the same and the compiled library files are only marginally smaller. But if anyone else wants to disable it, whether because they dont need it or provide their own physics format, then using the patch below on the released 2.77 sources should add an option in the cmake configuration to disable the serializer.
Patch tested on 64 bit linux without demos and extras enabled.
(since a cant attach .patch or .txt files i had to zip it up)
Im using bullet with my own cmakefiles derived from the original ones but the serializer wouldn't compile on win7 64, most likely due to my own fault. Since I wont be needing the embedded serializer i decided to #ifdef serialization and their data structures out.
Disabling the serializer doesn't really save much. Performance is the same and the compiled library files are only marginally smaller. But if anyone else wants to disable it, whether because they dont need it or provide their own physics format, then using the patch below on the released 2.77 sources should add an option in the cmake configuration to disable the serializer.
Patch tested on 64 bit linux without demos and extras enabled.
(since a cant attach .patch or .txt files i had to zip it up)