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 #currently this demo has only been tested under Windows 32bit
\r
17 INCLUDE_DIRECTORIES(
\r
18 ${BULLET_PHYSICS_SOURCE_DIR}/src ${BULLET_PHYSICS_SOURCE_DIR}/Demos/OpenGL
\r
19 ${VECTOR_MATH_INCLUDE}
\r
23 BulletMultiThreaded BulletDynamics BulletCollision LinearMath
\r
27 ADD_EXECUTABLE(AppThreadingDemo
\r
29 ${BULLET_PHYSICS_SOURCE_DIR}/build/bullet.rc
\r
32 ADD_EXECUTABLE(AppThreadingDemo
\r
38 TARGET_LINK_LIBRARIES(AppThreadingDemo pthread)
\r
41 IF (INTERNAL_ADD_POSTFIX_EXECUTABLE_NAMES)
\r
42 SET_TARGET_PROPERTIES(AppThreadingDemo PROPERTIES DEBUG_POSTFIX "_Debug")
\r
43 SET_TARGET_PROPERTIES(AppThreadingDemo PROPERTIES MINSIZEREL_POSTFIX "_MinsizeRel")
\r
44 SET_TARGET_PROPERTIES(AppThreadingDemo PROPERTIES RELWITHDEBINFO_POSTFIX "_RelWithDebugInfo")
\r
45 ENDIF(INTERNAL_ADD_POSTFIX_EXECUTABLE_NAMES)
\r