added starting point for Bullet unit tests, with one example unit test Enable the option BUILD_UNIT_TESTS in cmake to build the test. Note that the test doesn't automatically run.
17 lines
319 B
CMake
17 lines
319 B
CMake
|
|
INCLUDE_DIRECTORIES(
|
|
${BULLET_PHYSICS_SOURCE_DIR}/src
|
|
${BULLET_PHYSICS_SOURCE_DIR}/UnitTests/cppunit/include
|
|
|
|
|
|
${VECTOR_MATH_INCLUDE}
|
|
)
|
|
|
|
LINK_LIBRARIES(
|
|
cppunit BulletMultiThreaded BulletDynamics BulletCollision LinearMath
|
|
)
|
|
|
|
ADD_EXECUTABLE(AppBulletUnitTests
|
|
Main.cpp
|
|
TestBulletOnly.h
|
|
) |