Adding Bullet physics.

This commit is contained in:
Fabian Klemp 2014-10-24 11:57:06 +02:00
parent aeb6218d2d
commit af9a2591a8

View File

@ -113,5 +113,11 @@ ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
#
###############################################################################
INCLUDE_DIRECTORIES(GLOB_RECURSE ${CMAKE_SOURCE_DIR}/extern/bullet/src/*.h)
SET (LIBRARIES ${LIBRARIES} ../extern/bullet/build/src/BulletCollision/libBulletCollision.a)
SET (LIBRARIES ${LIBRARIES} ../extern/bullet/build/src/BulletDynamics/libBulletDynamics.a)
SET (LIBRARIES ${LIBRARIES} ../extern/bullet/build/src/LinearMath/libLinearMath.a)
ADD_EXECUTABLE(${CMAKE_PROJECT_NAME} ${SOURCE_FILES} ${HEADER_FILES} ${SHADER_FILES} ${README_FILES})
TARGET_LINK_LIBRARIES(${CMAKE_PROJECT_NAME} ${LIBRARIES})