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
8 # This is the variable for Windows. I use this to define the root of my directory structure.
\r
9 SET(GLUT_ROOT ${BULLET_PHYSICS_SOURCE_DIR}/Glut)
\r
11 # You shouldn't have to modify anything below this line
\r
12 ########################################################
\r
14 INCLUDE_DIRECTORIES(
\r
15 ${BULLET_PHYSICS_SOURCE_DIR}/src ${BULLET_PHYSICS_SOURCE_DIR}/Demos/OpenGL
\r
22 OpenGLSupport BulletDynamics BulletCollision LinearMath ${GLUT_glut_LIBRARY} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
\r
26 ADD_EXECUTABLE(AppRaytestDemo
\r
30 ${BULLET_PHYSICS_SOURCE_DIR}/build/bullet.rc
\r
33 ADD_EXECUTABLE(AppRaytestDemo
\r
44 IF (NOT INTERNAL_CREATE_DISTRIBUTABLE_MSVC_PROJECTFILES)
\r
47 TARGET AppRaytestDemo
\r
49 COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different ${BULLET_PHYSICS_SOURCE_DIR}/glut64.dll ${CMAKE_CURRENT_BINARY_DIR}
\r
53 TARGET AppRaytestDemo
\r
55 # COMMAND copy /Y ${BULLET_PHYSICS_SOURCE_DIR}/GLUT32.DLL ${CMAKE_CURRENT_BINARY_DIR}
\r
56 COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different ${BULLET_PHYSICS_SOURCE_DIR}/GLUT32.DLL ${CMAKE_CURRENT_BINARY_DIR}
\r
59 ENDIF (NOT INTERNAL_CREATE_DISTRIBUTABLE_MSVC_PROJECTFILES)
\r
67 OpenGLSupport BulletDynamics BulletCollision LinearMath ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
\r
71 ADD_EXECUTABLE(AppRaytestDemo
\r
73 ../OpenGL/Win32AppMain.cpp
\r
74 Win32RaytestDemo.cpp
\r
77 ${BULLET_PHYSICS_SOURCE_DIR}/build/bullet.rc
\r
83 IF (INTERNAL_ADD_POSTFIX_EXECUTABLE_NAMES)
\r
84 SET_TARGET_PROPERTIES(AppRaytestDemo PROPERTIES DEBUG_POSTFIX "_Debug")
\r
85 SET_TARGET_PROPERTIES(AppRaytestDemo PROPERTIES MINSIZEREL_POSTFIX "_MinsizeRel")
\r
86 SET_TARGET_PROPERTIES(AppRaytestDemo PROPERTIES RELWITHDEBINFO_POSTFIX "_RelWithDebugInfo")
\r
87 ENDIF(INTERNAL_ADD_POSTFIX_EXECUTABLE_NAMES)
\r