Imported Upstream version 2.81
[platform/upstream/libbullet.git] / Demos / Gpu2dDemo / 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  BulletDynamics  BulletCollision LinearMath    ${GLUT_glut_LIBRARY} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
20 )
21
22 ADD_EXECUTABLE(AppGpu2dDemo
23         main.cpp
24         BasicDemo.cpp
25         BasicDemo.h
26         btGpuDemoPairCache.cpp
27         btGpuDemoPairCache.h
28         btGpuDemo2dSharedTypes.h
29         btGpuDemo2dCpuFunc.cpp
30         btGpuDemoDynamicsWorld.cpp
31         btGpuDemoDynamicsWorld.h
32         oecakeLoader.cpp
33         oecakeLoader.h
34         btGpuDemo2dSharedCode.h
35         btGpuDemo2dSharedDefs.h
36 )
37
38