Tizen 2.1 base
[platform/upstream/libbullet.git] / Demos / Gpu3dDemo / 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 INCLUDE_DIRECTORIES(
15 ${BULLET_PHYSICS_SOURCE_DIR}/src ${BULLET_PHYSICS_SOURCE_DIR}/Demos/OpenGL 
16 )
17
18 LINK_LIBRARIES(
19 OpenGLSupport BulletMultiThreaded  BulletDynamics  BulletCollision LinearMath    ${GLUT_glut_LIBRARY} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
20 )
21
22 ADD_EXECUTABLE(AppGpu3dDemo
23         main.cpp
24         BasicDemo3d.cpp
25         BasicDemo3d.h
26         btGpuDemo3dSharedTypes.h
27         btGpuDemo3dCpuFunc.cpp
28         btGpuDemoDynamicsWorld3D.cpp
29         btGpuDemoDynamicsWorld3D.h
30         btGpuDemo3dSharedCode.h
31         btGpuDemo3dSharedDefs.h
32 )
33
34