Skip to content

Commit

Permalink
Removed ObjectStream code, saving 55KB on the wasm package
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouwe committed May 14, 2024
1 parent e73c937 commit 611f3e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ set(GENERATE_DEBUG_SYMBOLS ON)
# Turn off custom allocator
set(DISABLE_CUSTOM_ALLOCATOR ON)

# Turn off ObjectStream
set(ENABLE_OBJECT_STREAM OFF)

# Use 32-bit object layers to support more bits in ObjectLayerPairFilterMask
set(OBJECT_LAYER_BITS 32)

Expand Down Expand Up @@ -74,7 +77,7 @@ include(FetchContent)
FetchContent_Declare(
JoltPhysics
GIT_REPOSITORY "https://github.com/jrouwe/JoltPhysics"
GIT_TAG "31df98494db62e4580cc84f15b1c5d9d6a9859d7"
GIT_TAG "edd7b5d48ed0de4769e37968e76b879f9caa2b32"
SOURCE_SUBDIR "Build"
)
FetchContent_MakeAvailable(JoltPhysics)
Expand Down

0 comments on commit 611f3e3

Please sign in to comment.