1 # This is basically the overall name of the project in Visual Studio this is the name of the Solution File
\r
4 # For every executable you have with a main method you should have an add_executable line below.
\r
5 # For every add executable line you should list every .cpp and .h file you have associated with that executable.
\r
9 # You shouldn't have to modify anything below this line
\r
10 ########################################################
\r
14 INCLUDE_DIRECTORIES(
\r
15 ${BULLET_PHYSICS_SOURCE_DIR}/src ${BULLET_PHYSICS_SOURCE_DIR}/Demos/OpenGL
\r
19 OpenGLSupport BulletDynamics BulletCollision LinearMath ${GLUT_glut_LIBRARY} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
\r
22 ADD_EXECUTABLE(AppSliderConstraintDemo
\r
23 SliderConstraintDemo.cpp
\r
28 IF (NOT INTERNAL_CREATE_DISTRIBUTABLE_MSVC_PROJECTFILES)
\r
31 TARGET AppSliderConstraintDemo
\r
33 COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different ${BULLET_PHYSICS_SOURCE_DIR}/glut64.dll ${CMAKE_CURRENT_BINARY_DIR}
\r
37 TARGET AppSliderConstraintDemo
\r
39 COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different ${BULLET_PHYSICS_SOURCE_DIR}/GLUT32.DLL ${CMAKE_CURRENT_BINARY_DIR}
\r
42 ENDIF (NOT INTERNAL_CREATE_DISTRIBUTABLE_MSVC_PROJECTFILES)
\r
47 IF (INTERNAL_ADD_POSTFIX_EXECUTABLE_NAMES)
\r
48 SET_TARGET_PROPERTIES(AppSliderConstraintDemo PROPERTIES DEBUG_POSTFIX "_Debug")
\r
49 SET_TARGET_PROPERTIES(AppSliderConstraintDemo PROPERTIES MINSIZEREL_POSTFIX "_MinsizeRel")
\r
50 SET_TARGET_PROPERTIES(AppSliderConstraintDemo PROPERTIES RELWITHDEBINFO_POSTFIX "_RelWithDebugInfo")
\r
51 ENDIF(INTERNAL_ADD_POSTFIX_EXECUTABLE_NAMES)