Initialize libbullet git in 2.0_beta.
[platform/upstream/libbullet.git] / Demos / MovingConcaveDemo / CMakeLists.txt
1 # This is basically the overall name of the project in Visual Studio this is the name of the Solution File
2
3
4 # For every executable you have with a main method you should have an add_executable line below.
5 # For every add executable line you should list every .cpp and .h file you have associated with that executable.  
6
7
8 # This is the variable for Windows.  I use this to define the root of my directory structure.
9 SET(GLUT_ROOT ${BULLET_PHYSICS_SOURCE_DIR}/Glut)
10
11 # You shouldn't have to modify anything below this line 
12 ########################################################
13
14
15 INCLUDE_DIRECTORIES(
16  ${BULLET_PHYSICS_SOURCE_DIR}/src ${BULLET_PHYSICS_SOURCE_DIR}/Demos/OpenGL 
17 )
18
19 LINK_LIBRARIES(
20 OpenGLSupport  BulletDynamics  BulletCollision LinearMath    ${GLUT_glut_LIBRARY} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
21 )
22
23 ADD_EXECUTABLE(AppMovingConcaveDemo
24 ConcavePhysicsDemo.cpp
25 )
26
27 \r
28 IF (INTERNAL_ADD_POSTFIX_EXECUTABLE_NAMES)\r
29                         SET_TARGET_PROPERTIES(AppMovingConcaveDemo PROPERTIES  DEBUG_POSTFIX "_Debug")\r
30                         SET_TARGET_PROPERTIES(AppMovingConcaveDemo PROPERTIES  MINSIZEREL_POSTFIX "_MinsizeRel")\r
31                         SET_TARGET_PROPERTIES(AppMovingConcaveDemo PROPERTIES  RELWITHDEBINFO_POSTFIX "_RelWithDebugInfo")\r
32 ENDIF(INTERNAL_ADD_POSTFIX_EXECUTABLE_NAMES)