bullet3/Demos/HeightFieldFluidDemo/CMakeLists.txt
john.mccutchan a8ec916af0 Added Height Field Fluid Demo to Bullet. All code stored in the Demos/HeightFieldFluidDemo directory for now.
Please see HfFluidDemo.cpp for examples of how to use the height field fluid along with buoyant collision shapes.

The implementation is still lacking in my ways:
1) Need to complete more collision algorithms for buoyant collision shapes
2) Support compound buoyant shapes
3) The buoyancy model isn't that great
4) Fluid volume can be lost over time
2009-01-08 22:53:23 +00:00

36 lines
1.1 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
########################################################
INCLUDE_DIRECTORIES(
${BULLET_PHYSICS_SOURCE_DIR}/src ${BULLET_PHYSICS_SOURCE_DIR}/Demos/OpenGL }
)
LINK_LIBRARIES(
LibOpenGLSupport LibBulletDynamics LibBulletCollision LibLinearMath ${GLUT_glut_LIBRARY} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
)
ADD_EXECUTABLE(HfFluidDemo
HfFluidDemo_GL_ShapeDrawer.cpp
BulletHfFluid/btHfFluid.cpp
BulletHfFluid/btHfFluidBuoyantConvexShape.cpp
BulletHfFluid/btHfFluidBuoyantShapeCollisionAlgorithm.cpp
BulletHfFluid/btHfFluidCollisionShape.cpp
BulletHfFluid/btHfFluidRigidCollisionAlgorithm.cpp
BulletHfFluid/btHfFluidRigidCollisionConfiguration.cpp
BulletHfFluid/btHfFluidRigidDynamicsWorld.cpp
main.cpp
HfFluidDemo.cpp
)