fix minor issue in ConcaveDemo (animation should be time-dependent) remove COLLADA from the demos.
71 lines
2.3 KiB
CMake
71 lines
2.3 KiB
CMake
# This is basically the overall name of the project in Visual Studio this is the name of the Solution File
|
|
|
|
|
|
# For every executable you have with a main method you should have an add_executable line below.
|
|
# For every add executable line you should list every .cpp and .h file you have associated with that executable.
|
|
|
|
|
|
# You shouldn't have to modify anything below this line
|
|
########################################################
|
|
|
|
LINK_DIRECTORIES(
|
|
"C:/MinGW/lib"
|
|
)
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
${BULLET_PHYSICS_SOURCE_DIR}/Extras
|
|
${BULLET_PHYSICS_SOURCE_DIR}/Extras/GIMPACTUtils
|
|
${BULLET_PHYSICS_SOURCE_DIR}/Extras/ConvexDecomposition
|
|
${BULLET_PHYSICS_SOURCE_DIR}/Extras/LibXML
|
|
${BULLET_PHYSICS_SOURCE_DIR}/Extras/LibXML/include
|
|
${BULLET_PHYSICS_SOURCE_DIR}/src
|
|
${BULLET_PHYSICS_SOURCE_DIR}/Demos/OpenGL
|
|
${BULLET_PHYSICS_SOURCE_DIR}/Extras/Serialize/BulletFileLoader
|
|
${BULLET_PHYSICS_SOURCE_DIR}/Extras/Serialize/BulletWorldImporter
|
|
)
|
|
|
|
LINK_LIBRARIES(
|
|
GLUI GIMPACTUtils ConvexDecomposition OpenGLSupport BulletWorldImporter BulletSoftBody BulletDynamics BulletCollision BulletFileLoader LinearMath ${GLUT_glut_LIBRARY} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
|
|
)
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(AppAllBulletDemos
|
|
Main.cpp
|
|
DemoEntries.cpp
|
|
../CcdPhysicsDemo/CcdPhysicsDemo.cpp
|
|
../BasicDemo/BasicDemo.cpp
|
|
../BspDemo/BspDemo.cpp
|
|
../BspDemo/BspConverter.cpp
|
|
../BspDemo/BspLoader.cpp
|
|
../DynamicControlDemo/MotorDemo.cpp
|
|
../ConcaveDemo/ConcavePhysicsDemo.cpp
|
|
../ConcaveRaycastDemo/ConcaveRaycastDemo.cpp
|
|
../ConcaveConvexcastDemo/ConcaveConvexcastDemo.cpp
|
|
../ConvexDecompositionDemo/ConvexDecompositionDemo.cpp
|
|
../SliderConstraintDemo/SliderConstraintDemo.cpp
|
|
../RagdollDemo/RagdollDemo.cpp
|
|
../GimpactTestDemo/GimpactTestDemo.cpp
|
|
../Raytracer/Raytracer.cpp
|
|
../GjkConvexCastDemo/LinearConvexCastDemo.cpp
|
|
../ForkLiftDemo/ForkLiftDemo.cpp
|
|
../SoftDemo/SoftDemo.cpp
|
|
../ConstraintDemo/ConstraintDemo.cpp
|
|
)
|
|
|
|
|
|
IF (WIN32)
|
|
IF (CMAKE_CL_64)
|
|
ADD_CUSTOM_COMMAND(
|
|
TARGET AppAllBulletDemos
|
|
POST_BUILD
|
|
COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different ${BULLET_PHYSICS_SOURCE_DIR}/glut64.dll ${CMAKE_CURRENT_BINARY_DIR}
|
|
)
|
|
ELSE(CMAKE_CL_64)
|
|
ADD_CUSTOM_COMMAND(
|
|
TARGET AppAllBulletDemos
|
|
POST_BUILD
|
|
COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different ${BULLET_PHYSICS_SOURCE_DIR}/GLUT32.DLL ${CMAKE_CURRENT_BINARY_DIR}
|
|
)
|
|
ENDIF(CMAKE_CL_64)
|
|
ENDIF(WIN32) |