Imported Upstream version 2.81
[platform/upstream/libbullet.git] / Demos / MultiMaterialDemo / 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 INCLUDE_DIRECTORIES(
14 ${BULLET_PHYSICS_SOURCE_DIR}/src ${BULLET_PHYSICS_SOURCE_DIR}/Demos/OpenGL 
15 )
16
17 LINK_LIBRARIES(
18 OpenGLSupport BulletDynamics  BulletCollision LinearMath    ${GLUT_glut_LIBRARY} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
19 )
20
21 ADD_EXECUTABLE(AppMultiMaterialDemo
22         MultiMaterialDemo.cpp
23         main.cpp
24 )
25
26
27 IF (INTERNAL_ADD_POSTFIX_EXECUTABLE_NAMES)
28                         SET_TARGET_PROPERTIES(AppMultiMaterialDemo PROPERTIES  DEBUG_POSTFIX "_Debug")
29                         SET_TARGET_PROPERTIES(AppMultiMaterialDemo PROPERTIES  MINSIZEREL_POSTFIX "_MinsizeRel")
30                         SET_TARGET_PROPERTIES(AppMultiMaterialDemo PROPERTIES  RELWITHDEBINFO_POSTFIX "_RelWithDebugInfo")
31 ENDIF(INTERNAL_ADD_POSTFIX_EXECUTABLE_NAMES)