Imported Upstream version 2.81
[platform/upstream/libbullet.git] / Demos / VehicleDemo / 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
9 # You shouldn't have to modify anything below this line 
10 ########################################################
11
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(AppVehicleDemo
23         VehicleDemo.cpp
24         main.cpp
25 )
26
27 IF (INTERNAL_ADD_POSTFIX_EXECUTABLE_NAMES)\r
28                         SET_TARGET_PROPERTIES(AppVehicleDemo PROPERTIES  DEBUG_POSTFIX "_Debug")\r
29                         SET_TARGET_PROPERTIES(AppVehicleDemo PROPERTIES  MINSIZEREL_POSTFIX "_MinsizeRel")\r
30                         SET_TARGET_PROPERTIES(AppVehicleDemo PROPERTIES  RELWITHDEBINFO_POSTFIX "_RelWithDebugInfo")\r
31 ENDIF(INTERNAL_ADD_POSTFIX_EXECUTABLE_NAMES)