box3d/shared/CMakeLists.txt
Erin Catto 7216822064
Bug fixes and minor features (#2)
- API to query compounds directly.
- Fix some uninitialized stuff (thanks MSAN).
- Fix for store impulses on overflow.
- AABB margin reduced for small shapes
- body contact recycling option
- angular threshold for contact recycling
- reduce AABB margin on smaller shapes
- fix for hull vs tri when axis aligned
- fully locked rotation uses zero inverse inertia
2026-05-12 15:24:20 -07:00

27 lines
No EOL
537 B
CMake

# Shared code for samples, benchmarks, and unit tests
set(BOX3D_SHARED_FILES
benchmarks.c
benchmarks.h
determinism.c
determinism.h
human.c
human.h
overflow_color.c
overflow_color.h
stability.c
stability.h
utils.c
utils.h
)
add_library(shared ${BOX3D_SHARED_FILES})
set_target_properties(shared PROPERTIES
C_STANDARD 17
)
target_include_directories(shared PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(shared PRIVATE box3d)
source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} PREFIX "" FILES ${BOX3D_SHARED_FILES})