Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

-Initial commit of Bullet port.

  • Loading branch information...
commit 7cb0ad9c7036021d8e55c3715316c140f626af4e 1 parent e562cfe
Chris Culy authored

Showing 2,126 changed files with 130,333 additions and 0 deletions. Show diff stats Hide diff stats

  1. +782 0 .cproject
  2. +89 0 .project
  3. +22 0 AUTHORS
  4. BIN  BspDemo.bsp
  5. +18 0 BulletLicense.txt
  6. BIN  Bullet_User_Manual.pdf
  7. +378 0 CMakeLists.txt
  8. +17 0 COPYING
  9. +788 0 ChangeLog
  10. +104 0 Demos/AllBulletDemos/CMakeLists.txt
  11. +178 0 Demos/AllBulletDemos/DemoEntries.cpp
  12. +34 0 Demos/AllBulletDemos/DemoEntries.h
  13. +570 0 Demos/AllBulletDemos/Main.cpp
  14. +34 0 Demos/AllBulletDemos/Makefile.am
  15. +237 0 Demos/BasicDemo/BasicDemo.cpp
  16. +82 0 Demos/BasicDemo/BasicDemo.h
  17. +87 0 Demos/BasicDemo/CMakeLists.txt
  18. +5 0 Demos/BasicDemo/Makefile.am
  19. +49 0 Demos/BasicDemo/Makefile.original
  20. +25 0 Demos/BasicDemo/Win32BasicDemo.cpp
  21. +42 0 Demos/BasicDemo/main.cpp
  22. +1,320 0 Demos/Benchmarks/BenchmarkDemo.cpp
  23. +265 0 Demos/Benchmarks/BenchmarkDemo.h
  24. +107 0 Demos/Benchmarks/CMakeLists.txt
  25. +49 0 Demos/Benchmarks/Taru.mdl
  26. +25 0 Demos/Benchmarks/Win32BenchmarkDemo.cpp
  27. +84,369 0 Demos/Benchmarks/landscape.mdl
  28. +88 0 Demos/Benchmarks/main.cpp
  29. +358 0 Demos/Box2dDemo/Box2dDemo.cpp
  30. +89 0 Demos/Box2dDemo/Box2dDemo.h
  31. +75 0 Demos/Box2dDemo/CMakeLists.txt
  32. +25 0 Demos/Box2dDemo/Win32Box2dDemo.cpp
  33. +61 0 Demos/Box2dDemo/main.cpp
  34. +207 0 Demos/BspDemo/BspConverter.cpp
  35. +39 0 Demos/BspDemo/BspConverter.h
  36. +321 0 Demos/BspDemo/BspDemo.cpp
  37. +71 0 Demos/BspDemo/BspDemo.h
  38. +730 0 Demos/BspDemo/BspLoader.cpp
  39. +295 0 Demos/BspDemo/BspLoader.h
  40. +60 0 Demos/BspDemo/CMakeLists.txt
  41. +59 0 Demos/BspDemo/main.cpp
  42. +996 0 Demos/BulletDinoDemo/BulletDino.c
  43. +61 0 Demos/BulletDinoDemo/CMakeLists.txt
  44. +60 0 Demos/CMakeLists.txt
  45. +57 0 Demos/CcdPhysicsDemo/CMakeLists.txt
  46. +413 0 Demos/CcdPhysicsDemo/CcdPhysicsDemo.cpp
  47. +94 0 Demos/CcdPhysicsDemo/CcdPhysicsDemo.h
  48. +5 0 Demos/CcdPhysicsDemo/Makefile.am
  49. +49 0 Demos/CcdPhysicsDemo/main.cpp
  50. +277 0 Demos/CellSpuDemo/BasicDemo2.cpp
  51. +62 0 Demos/CellSpuDemo/BasicDemo2.h
  52. +69 0 Demos/CellSpuDemo/ibmsdk/Makefile
  53. +75 0 Demos/CharacterDemo/CMakeLists.txt
  54. +531 0 Demos/CharacterDemo/CharacterDemo.cpp
  55. +153 0 Demos/CharacterDemo/CharacterDemo.h
  56. +204 0 Demos/CharacterDemo/DynamicCharacterController.cpp
  57. +55 0 Demos/CharacterDemo/DynamicCharacterController.h
  58. +19 0 Demos/CharacterDemo/main.cpp
  59. +54 0 Demos/CollisionDemo/CMakeLists.txt
  60. +380 0 Demos/CollisionDemo/CollisionDemo.cpp
  61. +38 0 Demos/CollisionDemo/CollisionDemo.h
  62. +77 0 Demos/CollisionInterfaceDemo/CMakeLists.txt
  63. +292 0 Demos/CollisionInterfaceDemo/CollisionInterfaceDemo.cpp
  64. +42 0 Demos/CollisionInterfaceDemo/CollisionInterfaceDemo.h
  65. +25 0 Demos/CollisionInterfaceDemo/Win32CollisionInterfaceDemo.cpp
  66. +19 0 Demos/CollisionInterfaceDemo/main.cpp
  67. +48 0 Demos/ConcaveConvexcastDemo/CMakeLists.txt
  68. +516 0 Demos/ConcaveConvexcastDemo/ConcaveConvexcastDemo.cpp
  69. +84 0 Demos/ConcaveConvexcastDemo/ConcaveConvexcastDemo.h
  70. +15 0 Demos/ConcaveConvexcastDemo/main.cpp
  71. +80 0 Demos/ConcaveDemo/CMakeLists.txt
  72. +91 0 Demos/ConcaveDemo/ConcaveDemo.h
  73. +474 0 Demos/ConcaveDemo/ConcavePhysicsDemo.cpp
  74. +3 0  Demos/ConcaveDemo/Jamfile
  75. +25 0 Demos/ConcaveDemo/Win32ConcaveDemo.cpp
  76. +19 0 Demos/ConcaveDemo/main.cpp
  77. +39 0 Demos/ConcaveRaycastDemo/CMakeLists.txt
  78. +490 0 Demos/ConcaveRaycastDemo/ConcaveRaycastDemo.cpp
  79. +85 0 Demos/ConcaveRaycastDemo/ConcaveRaycastDemo.h
  80. +15 0 Demos/ConcaveRaycastDemo/main.cpp
  81. +69 0 Demos/ConstraintDemo/CMakeLists.txt
  82. +738 0 Demos/ConstraintDemo/ConstraintDemo.cpp
  83. +72 0 Demos/ConstraintDemo/ConstraintDemo.h
  84. +25 0 Demos/ConstraintDemo/Win32ConstraintDemo.cpp
  85. +20 0 Demos/ConstraintDemo/main.cpp
  86. +47 0 Demos/ContinuousConvexCollision/CMakeLists.txt
  87. +36 0 Demos/ContinuousConvexCollision/ContinuousConvexCollision.h
  88. +287 0 Demos/ContinuousConvexCollision/ContinuousConvexCollisionDemo.cpp
  89. +83 0 Demos/ConvexDecompositionDemo/CMakeLists.txt
  90. +741 0 Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp
  91. +88 0 Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.h
  92. +25 0 Demos/ConvexDecompositionDemo/Win32ConvexDecompositionDemo.cpp
  93. +32 0 Demos/ConvexDecompositionDemo/main.cpp
  94. BIN  Demos/ConvexDecompositionDemo/testFile32Single.bullet
  95. +82 0 Demos/ConvexHullDistance/CMakeLists.txt
  96. +508 0 Demos/ConvexHullDistance/ConvexHullDistanceDemo.cpp
  97. +166 0 Demos/DX11ClothDemo/CMakeLists.txt
  98. +5,846 0 Demos/DX11ClothDemo/DXUT/Core/DXUT.cpp
  99. +378 0 Demos/DX11ClothDemo/DXUT/Core/DXUT.h
  100. +1,154 0 Demos/DX11ClothDemo/DXUT/Core/DXUTDevice11.cpp
  101. +210 0 Demos/DX11ClothDemo/DXUT/Core/DXUTDevice11.h
  102. +1,177 0 Demos/DX11ClothDemo/DXUT/Core/DXUTDevice9.cpp
  103. +207 0 Demos/DX11ClothDemo/DXUT/Core/DXUTDevice9.h
  104. +1,785 0 Demos/DX11ClothDemo/DXUT/Core/DXUTmisc.cpp
  105. +594 0 Demos/DX11ClothDemo/DXUT/Core/DXUTmisc.h
  106. +7 0 Demos/DX11ClothDemo/DXUT/Core/dpiaware.manifest
  107. +227 0 Demos/DX11ClothDemo/DXUT/Optional/DXUTLockFreePipe.h
  108. +5,663 0 Demos/DX11ClothDemo/DXUT/Optional/DXUTShapes.cpp
  109. +24 0 Demos/DX11ClothDemo/DXUT/Optional/DXUTShapes.h
  110. +1,525 0 Demos/DX11ClothDemo/DXUT/Optional/DXUTcamera.cpp
  111. +517 0 Demos/DX11ClothDemo/DXUT/Optional/DXUTcamera.h
  112. +7,241 0 Demos/DX11ClothDemo/DXUT/Optional/DXUTgui.cpp
  113. +1,383 0 Demos/DX11ClothDemo/DXUT/Optional/DXUTgui.h
  114. +990 0 Demos/DX11ClothDemo/DXUT/Optional/DXUTguiIME.cpp
  115. +141 0 Demos/DX11ClothDemo/DXUT/Optional/DXUTguiIME.h
Sorry, we could not display the entire diff because too many files (2,126) changed.
782 .cproject
... ... @@ -0,0 +1,782 @@
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<?fileVersion 4.0.0?>
  3 +
  4 +<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
  5 + <storageModule moduleId="org.eclipse.cdt.core.settings">
  6 + <cconfiguration id="com.qnx.qcc.configuration.staticLib.debug.711601993">
  7 + <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.configuration.staticLib.debug.711601993" moduleId="org.eclipse.cdt.core.settings" name="Simulator">
  8 + <externalSettings>
  9 + <externalSetting>
  10 + <entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/bullet"/>
  11 + <entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/bullet/Simulator"/>
  12 + <entry flags="RESOLVED" kind="libraryFile" name="bullet"/>
  13 + </externalSetting>
  14 + </externalSettings>
  15 + <extensions>
  16 + <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
  17 + <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
  18 + <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
  19 + <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
  20 + </extensions>
  21 + </storageModule>
  22 + <storageModule moduleId="cdtBuildSystem" version="4.0.0">
  23 + <configuration artifactExtension="a" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.staticLib" description="" id="com.qnx.qcc.configuration.staticLib.debug.711601993" name="Simulator" parent="com.qnx.qcc.configuration.staticLib.debug">
  24 + <folderInfo id="com.qnx.qcc.configuration.staticLib.debug.711601993." name="/" resourcePath="">
  25 + <toolChain id="com.qnx.qcc.toolChain.staticLib.debug.1945645347" name="QNX QCC" superClass="com.qnx.qcc.toolChain">
  26 + <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.1457111086" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
  27 + <builder buildPath="${workspace_loc:/gameplay/Simulator}" id="cdt.managedbuild.target.gnu.builder.base.868541958" keepEnvironmentInBuildfile="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/>
  28 + <tool id="com.qnx.qcc.tool.compiler.827936854" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
  29 + <option id="com.qnx.qcc.option.compile.debug.129251761" name="Debug (-g)" superClass="com.qnx.qcc.option.compile.debug" value="true" valueType="boolean"/>
  30 + <option id="com.qnx.qcc.option.compiler.ccoptions.1556571676" name="Compiler Options (-Wc,)" superClass="com.qnx.qcc.option.compiler.ccoptions"/>
  31 + <option id="com.qnx.qcc.option.compiler.qccoptions.1850472447" name="QCC Options" superClass="com.qnx.qcc.option.compiler.qccoptions"/>
  32 + <option id="com.qnx.qcc.option.compiler.includePath.2117832803" name="Include Directories (-I)" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
  33 + <listOptionValue builtIn="false" value="&quot;${workspace_loc:/bullet/src}&quot;"/>
  34 + </option>
  35 + <option id="com.qnx.qcc.option.compiler.shared.1105546085" name="Shared (-shared)" superClass="com.qnx.qcc.option.compiler.shared" value="true" valueType="boolean"/>
  36 + <inputType id="com.qnx.qcc.inputType.compiler.1799406593" superClass="com.qnx.qcc.inputType.compiler"/>
  37 + </tool>
  38 + <tool id="com.qnx.qcc.tool.assembler.1412365211" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
  39 + <option id="com.qnx.qcc.option.assembler.debug.458056099" name="Debug (-g)" superClass="com.qnx.qcc.option.assembler.debug" value="true" valueType="boolean"/>
  40 + <option id="com.qnx.qcc.option.assembler.includePath.1305377230" name="Include Directories (-I)" superClass="com.qnx.qcc.option.assembler.includePath"/>
  41 + <inputType id="com.qnx.qcc.inputType.assembler.341864056" superClass="com.qnx.qcc.inputType.assembler"/>
  42 + </tool>
  43 + <tool id="com.qnx.qcc.tool.linker.2078597153" name="QCC Linker" superClass="com.qnx.qcc.tool.linker">
  44 + <option id="com.qnx.qcc.option.linker.debug.374084077" name="Debug (-g)" superClass="com.qnx.qcc.option.linker.debug" value="true" valueType="boolean"/>
  45 + <option id="com.qnx.qcc.option.linker.langcpp.1456147604" name="C++ (-lang-c++)" superClass="com.qnx.qcc.option.linker.langcpp" value="true" valueType="boolean"/>
  46 + <option id="com.qnx.qcc.option.linker.shared.1116443920" name="Shared (-shared)" superClass="com.qnx.qcc.option.linker.shared" value="true" valueType="boolean"/>
  47 + <inputType id="com.qnx.qcc.inputType.linker.884604820" superClass="com.qnx.qcc.inputType.linker">
  48 + <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
  49 + <additionalInput kind="additionalinput" paths="$(LIBS)"/>
  50 + <additionalInput kind="additionaldependency" paths="$(LIB_DEPS)"/>
  51 + </inputType>
  52 + </tool>
  53 + <tool id="com.qnx.qcc.tool.archiver.68490202" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
  54 + </toolChain>
  55 + </folderInfo>
  56 + <sourceEntries>
  57 + <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/BulletCollision"/>
  58 + <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/LinearMath"/>
  59 + <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/BulletDynamics"/>
  60 + <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/BulletSoftBody"/>
  61 + <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/vectormath"/>
  62 + </sourceEntries>
  63 + </configuration>
  64 + </storageModule>
  65 + <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
  66 + <storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
  67 + <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
  68 + <storageModule moduleId="com.qnx.tools.ide.qde.core.QNXProjectProperties"/>
  69 + </cconfiguration>
  70 + <cconfiguration id="com.qnx.qcc.configuration.staticLib.debug.1320757507">
  71 + <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.configuration.staticLib.debug.1320757507" moduleId="org.eclipse.cdt.core.settings" name="Device-Debug">
  72 + <externalSettings>
  73 + <externalSetting>
  74 + <entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/gameplay"/>
  75 + <entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/bullet"/>
  76 + <entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/gameplay/Device-Debug"/>
  77 + <entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/bullet/Device-Debug"/>
  78 + <entry flags="RESOLVED" kind="libraryFile" name="gameplay"/>
  79 + <entry flags="RESOLVED" kind="libraryFile" name="bullet"/>
  80 + </externalSetting>
  81 + </externalSettings>
  82 + <extensions>
  83 + <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
  84 + <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
  85 + <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
  86 + <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
  87 + </extensions>
  88 + </storageModule>
  89 + <storageModule moduleId="cdtBuildSystem" version="4.0.0">
  90 + <configuration artifactExtension="a" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.staticLib" description="" id="com.qnx.qcc.configuration.staticLib.debug.1320757507" name="Device-Debug" parent="com.qnx.qcc.configuration.staticLib.debug">
  91 + <folderInfo id="com.qnx.qcc.configuration.staticLib.debug.1320757507." name="/" resourcePath="">
  92 + <toolChain id="com.qnx.qcc.toolChain.staticLib.debug.282075023" name="QNX QCC" superClass="com.qnx.qcc.toolChain">
  93 + <option id="com.qnx.qcc.option.cpu.1054018092" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
  94 + <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.1160896018" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
  95 + <builder buildPath="${workspace_loc:/gameplay/Device-Debug}" id="cdt.managedbuild.target.gnu.builder.base.1636214474" keepEnvironmentInBuildfile="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/>
  96 + <tool id="com.qnx.qcc.tool.compiler.956029147" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
  97 + <option id="com.qnx.qcc.option.compile.debug.1723046779" name="Debug (-g)" superClass="com.qnx.qcc.option.compile.debug" value="true" valueType="boolean"/>
  98 + <option id="com.qnx.qcc.option.compiler.ccoptions.1356488898" name="Compiler Options (-Wc,)" superClass="com.qnx.qcc.option.compiler.ccoptions"/>
  99 + <option id="com.qnx.qcc.option.compiler.qccoptions.1118782442" name="QCC Options" superClass="com.qnx.qcc.option.compiler.qccoptions"/>
  100 + <option id="com.qnx.qcc.option.compiler.includePath.1663357324" name="Include Directories (-I)" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
  101 + <listOptionValue builtIn="false" value="&quot;${workspace_loc:/bullet/src}&quot;"/>
  102 + </option>
  103 + <option id="com.qnx.qcc.option.compiler.shared.1850319435" name="Shared (-shared)" superClass="com.qnx.qcc.option.compiler.shared" value="true" valueType="boolean"/>
  104 + <inputType id="com.qnx.qcc.inputType.compiler.502831370" superClass="com.qnx.qcc.inputType.compiler"/>
  105 + </tool>
  106 + <tool id="com.qnx.qcc.tool.assembler.353141089" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
  107 + <option id="com.qnx.qcc.option.assembler.debug.343491658" name="Debug (-g)" superClass="com.qnx.qcc.option.assembler.debug" value="true" valueType="boolean"/>
  108 + <option id="com.qnx.qcc.option.assembler.includePath.2044405072" name="Include Directories (-I)" superClass="com.qnx.qcc.option.assembler.includePath" valueType="includePath">
  109 + <listOptionValue builtIn="false" value="&quot;${workspace_loc:/bullet/src}&quot;"/>
  110 + </option>
  111 + <inputType id="com.qnx.qcc.inputType.assembler.968306620" superClass="com.qnx.qcc.inputType.assembler"/>
  112 + </tool>
  113 + <tool id="com.qnx.qcc.tool.linker.809235472" name="QCC Linker" superClass="com.qnx.qcc.tool.linker">
  114 + <option id="com.qnx.qcc.option.linker.debug.1008913459" name="Debug (-g)" superClass="com.qnx.qcc.option.linker.debug" value="true" valueType="boolean"/>
  115 + <option id="com.qnx.qcc.option.linker.langcpp.190301400" name="C++ (-lang-c++)" superClass="com.qnx.qcc.option.linker.langcpp" value="true" valueType="boolean"/>
  116 + <option id="com.qnx.qcc.option.linker.shared.926913407" name="Shared (-shared)" superClass="com.qnx.qcc.option.linker.shared" value="true" valueType="boolean"/>
  117 + <inputType id="com.qnx.qcc.inputType.linker.485160762" superClass="com.qnx.qcc.inputType.linker">
  118 + <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
  119 + <additionalInput kind="additionalinput" paths="$(LIBS)"/>
  120 + <additionalInput kind="additionaldependency" paths="$(LIB_DEPS)"/>
  121 + </inputType>
  122 + </tool>
  123 + <tool id="com.qnx.qcc.tool.archiver.213560773" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
  124 + </toolChain>
  125 + </folderInfo>
  126 + <sourceEntries>
  127 + <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/BulletCollision"/>
  128 + <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/BulletDynamics"/>
  129 + <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/BulletSoftBody"/>
  130 + <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/LinearMath"/>
  131 + <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/vectormath"/>
  132 + </sourceEntries>
  133 + </configuration>
  134 + </storageModule>
  135 + <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
  136 + <storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
  137 + <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
  138 + <storageModule moduleId="com.qnx.tools.ide.qde.core.QNXProjectProperties"/>
  139 + </cconfiguration>
  140 + <cconfiguration id="com.qnx.qcc.configuration.staticLib.release.717311672">
  141 + <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.configuration.staticLib.release.717311672" moduleId="org.eclipse.cdt.core.settings" name="Device-Release">
  142 + <externalSettings>
  143 + <externalSetting>
  144 + <entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/bullet"/>
  145 + <entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/bullet/Device-Release"/>
  146 + <entry flags="RESOLVED" kind="libraryFile" name="bullet"/>
  147 + </externalSetting>
  148 + </externalSettings>
  149 + <extensions>
  150 + <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
  151 + <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
  152 + <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
  153 + <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
  154 + </extensions>
  155 + </storageModule>
  156 + <storageModule moduleId="cdtBuildSystem" version="4.0.0">
  157 + <configuration artifactExtension="a" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.staticLib" description="" id="com.qnx.qcc.configuration.staticLib.release.717311672" name="Device-Release" parent="com.qnx.qcc.configuration.staticLib.release">
  158 + <folderInfo id="com.qnx.qcc.configuration.staticLib.release.717311672." name="/" resourcePath="">
  159 + <toolChain id="com.qnx.qcc.toolChain.staticLib.release.1131838371" name="QNX QCC" superClass="com.qnx.qcc.toolChain">
  160 + <option id="com.qnx.qcc.option.cpu.1587895288" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
  161 + <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.2109575614" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
  162 + <builder buildPath="${workspace_loc:/gameplay/Device-Release}" id="cdt.managedbuild.target.gnu.builder.base.517843585" keepEnvironmentInBuildfile="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/>
  163 + <tool id="com.qnx.qcc.tool.compiler.1288446371" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
  164 + <option id="com.qnx.qcc.option.compiler.optlevel.1585302237" name="Optimization Level" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.2" valueType="enumerated"/>
  165 + <option id="com.qnx.qcc.option.compiler.ccoptions.992497050" name="Compiler Options (-Wc,)" superClass="com.qnx.qcc.option.compiler.ccoptions"/>
  166 + <option id="com.qnx.qcc.option.compiler.qccoptions.281472148" name="QCC Options" superClass="com.qnx.qcc.option.compiler.qccoptions"/>
  167 + <option id="com.qnx.qcc.option.compiler.includePath.986915460" name="Include Directories (-I)" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
  168 + <listOptionValue builtIn="false" value="&quot;${workspace_loc:/bullet/src}&quot;"/>
  169 + </option>
  170 + <option id="com.qnx.qcc.option.compiler.shared.541601814" name="Shared (-shared)" superClass="com.qnx.qcc.option.compiler.shared" value="true" valueType="boolean"/>
  171 + <inputType id="com.qnx.qcc.inputType.compiler.1816540265" superClass="com.qnx.qcc.inputType.compiler"/>
  172 + </tool>
  173 + <tool id="com.qnx.qcc.tool.assembler.1432883210" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
  174 + <option id="com.qnx.qcc.option.assembler.includePath.97997467" name="Include Directories (-I)" superClass="com.qnx.qcc.option.assembler.includePath" valueType="includePath">
  175 + <listOptionValue builtIn="false" value="&quot;${workspace_loc:/bullet/src}&quot;"/>
  176 + </option>
  177 + <inputType id="com.qnx.qcc.inputType.assembler.1158178094" superClass="com.qnx.qcc.inputType.assembler"/>
  178 + </tool>
  179 + <tool id="com.qnx.qcc.tool.linker.731461191" name="QCC Linker" superClass="com.qnx.qcc.tool.linker">
  180 + <option id="com.qnx.qcc.option.linker.langcpp.26301347" name="C++ (-lang-c++)" superClass="com.qnx.qcc.option.linker.langcpp" value="true" valueType="boolean"/>
  181 + <option id="com.qnx.qcc.option.linker.shared.393104889" name="Shared (-shared)" superClass="com.qnx.qcc.option.linker.shared" value="true" valueType="boolean"/>
  182 + <inputType id="com.qnx.qcc.inputType.linker.534735811" superClass="com.qnx.qcc.inputType.linker">
  183 + <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
  184 + <additionalInput kind="additionalinput" paths="$(LIBS)"/>
  185 + <additionalInput kind="additionaldependency" paths="$(LIB_DEPS)"/>
  186 + </inputType>
  187 + </tool>
  188 + <tool id="com.qnx.qcc.tool.archiver.1287248157" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
  189 + </toolChain>
  190 + </folderInfo>
  191 + <sourceEntries>
  192 + <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/BulletCollision"/>
  193 + <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/BulletDynamics"/>
  194 + <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/BulletSoftBody"/>
  195 + <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/LinearMath"/>
  196 + <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/vectormath"/>
  197 + </sourceEntries>
  198 + </configuration>
  199 + </storageModule>
  200 + <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
  201 + <storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
  202 + <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
  203 + <storageModule moduleId="com.qnx.tools.ide.qde.core.QNXProjectProperties"/>
  204 + </cconfiguration>
  205 + </storageModule>
  206 + <storageModule moduleId="cdtBuildSystem" version="4.0.0">
  207 + <project id="samples.null.637071789" name="samples"/>
  208 + </storageModule>
  209 + <storageModule moduleId="refreshScope"/>
  210 + <storageModule moduleId="scannerConfiguration">
  211 + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
  212 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo">
  213 + <buildOutputProvider>
  214 + <openAction enabled="true" filePath=""/>
  215 + <parser enabled="true"/>
  216 + </buildOutputProvider>
  217 + <scannerInfoProvider id="qccSpecsFile">
  218 + <runAction arguments="-E -Wp,-P -Wp,-v -Wp,-dD ${plugin_state_location}/${specs_file}" command="qcc" useDefault="true"/>
  219 + <parser enabled="true"/>
  220 + </scannerInfoProvider>
  221 + </profile>
  222 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfoPerFile">
  223 + <buildOutputProvider>
  224 + <openAction enabled="true" filePath=""/>
  225 + <parser enabled="true"/>
  226 + </buildOutputProvider>
  227 + <scannerInfoProvider id="qccMakeFileGenerator">
  228 + <runAction arguments="-f ${project_name}_scd.mk | -E -Wp,-P -Wp,-v -Wp,-dD" command="make" useDefault="true"/>
  229 + <parser enabled="true"/>
  230 + </scannerInfoProvider>
  231 + </profile>
  232 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.ExternalToolchainPerProjectProfileCPP">
  233 + <buildOutputProvider>
  234 + <openAction enabled="true" filePath=""/>
  235 + <parser enabled="true"/>
  236 + </buildOutputProvider>
  237 + <scannerInfoProvider id="specsFile">
  238 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
  239 + <parser enabled="true"/>
  240 + </scannerInfoProvider>
  241 + </profile>
  242 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.ExternalToolchainPerProjectProfileC">
  243 + <buildOutputProvider>
  244 + <openAction enabled="true" filePath=""/>
  245 + <parser enabled="true"/>
  246 + </buildOutputProvider>
  247 + <scannerInfoProvider id="specsFile">
  248 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
  249 + <parser enabled="true"/>
  250 + </scannerInfoProvider>
  251 + </profile>
  252 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.ExternalToolchainPerFileProfile">
  253 + <buildOutputProvider>
  254 + <openAction enabled="true" filePath=""/>
  255 + <parser enabled="true"/>
  256 + </buildOutputProvider>
  257 + <scannerInfoProvider id="makefileGenerator">
  258 + <runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
  259 + <parser enabled="true"/>
  260 + </scannerInfoProvider>
  261 + </profile>
  262 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.QNXMultiToolchainProfile">
  263 + <buildOutputProvider>
  264 + <openAction enabled="true" filePath=""/>
  265 + <parser enabled="true"/>
  266 + </buildOutputProvider>
  267 + <scannerInfoProvider id="specsFile">
  268 + <runAction arguments="-f ${plugin_state_location}/qdereflection.mk PLATFORM=nto/x86 qde-reflect" command="make" useDefault="true"/>
  269 + <parser enabled="true"/>
  270 + </scannerInfoProvider>
  271 + </profile>
  272 + <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
  273 + <buildOutputProvider>
  274 + <openAction enabled="true" filePath=""/>
  275 + <parser enabled="true"/>
  276 + </buildOutputProvider>
  277 + <scannerInfoProvider id="specsFile">
  278 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
  279 + <parser enabled="true"/>
  280 + </scannerInfoProvider>
  281 + </profile>
  282 + <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
  283 + <buildOutputProvider>
  284 + <openAction enabled="true" filePath=""/>
  285 + <parser enabled="true"/>
  286 + </buildOutputProvider>
  287 + <scannerInfoProvider id="makefileGenerator">
  288 + <runAction arguments="-E -P -v -dD" command="" useDefault="true"/>
  289 + <parser enabled="true"/>
  290 + </scannerInfoProvider>
  291 + </profile>
  292 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
  293 + <buildOutputProvider>
  294 + <openAction enabled="true" filePath=""/>
  295 + <parser enabled="true"/>
  296 + </buildOutputProvider>
  297 + <scannerInfoProvider id="specsFile">
  298 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
  299 + <parser enabled="true"/>
  300 + </scannerInfoProvider>
  301 + </profile>
  302 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
  303 + <buildOutputProvider>
  304 + <openAction enabled="true" filePath=""/>
  305 + <parser enabled="true"/>
  306 + </buildOutputProvider>
  307 + <scannerInfoProvider id="specsFile">
  308 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
  309 + <parser enabled="true"/>
  310 + </scannerInfoProvider>
  311 + </profile>
  312 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
  313 + <buildOutputProvider>
  314 + <openAction enabled="true" filePath=""/>
  315 + <parser enabled="true"/>
  316 + </buildOutputProvider>
  317 + <scannerInfoProvider id="specsFile">
  318 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
  319 + <parser enabled="true"/>
  320 + </scannerInfoProvider>
  321 + </profile>
  322 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
  323 + <buildOutputProvider>
  324 + <openAction enabled="true" filePath=""/>
  325 + <parser enabled="true"/>
  326 + </buildOutputProvider>
  327 + <scannerInfoProvider id="specsFile">
  328 + <runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/${specs_file}&quot;'" command="sh" useDefault="true"/>
  329 + <parser enabled="true"/>
  330 + </scannerInfoProvider>
  331 + </profile>
  332 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
  333 + <buildOutputProvider>
  334 + <openAction enabled="true" filePath=""/>
  335 + <parser enabled="true"/>
  336 + </buildOutputProvider>
  337 + <scannerInfoProvider id="specsFile">
  338 + <runAction arguments="-c 'g++ -E -P -v -dD &quot;${plugin_state_location}/specs.cpp&quot;'" command="sh" useDefault="true"/>
  339 + <parser enabled="true"/>
  340 + </scannerInfoProvider>
  341 + </profile>
  342 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
  343 + <buildOutputProvider>
  344 + <openAction enabled="true" filePath=""/>
  345 + <parser enabled="true"/>
  346 + </buildOutputProvider>
  347 + <scannerInfoProvider id="specsFile">
  348 + <runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/specs.c&quot;'" command="sh" useDefault="true"/>
  349 + <parser enabled="true"/>
  350 + </scannerInfoProvider>
  351 + </profile>
  352 + <scannerConfigBuildInfo instanceId="com.qnx.qcc.configuration.staticLib.debug.711601993">
  353 + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
  354 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo">
  355 + <buildOutputProvider>
  356 + <openAction enabled="true" filePath=""/>
  357 + <parser enabled="true"/>
  358 + </buildOutputProvider>
  359 + <scannerInfoProvider id="qccSpecsFile">
  360 + <runAction arguments="-E -Wp,-P -Wp,-v -Wp,-dD ${plugin_state_location}/${specs_file}" command="qcc" useDefault="true"/>
  361 + <parser enabled="true"/>
  362 + </scannerInfoProvider>
  363 + </profile>
  364 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfoPerFile">
  365 + <buildOutputProvider>
  366 + <openAction enabled="true" filePath=""/>
  367 + <parser enabled="true"/>
  368 + </buildOutputProvider>
  369 + <scannerInfoProvider id="qccMakeFileGenerator">
  370 + <runAction arguments="-f ${project_name}_scd.mk | -E -Wp,-P -Wp,-v -Wp,-dD" command="make" useDefault="true"/>
  371 + <parser enabled="true"/>
  372 + </scannerInfoProvider>
  373 + </profile>
  374 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.ExternalToolchainPerProjectProfileCPP">
  375 + <buildOutputProvider>
  376 + <openAction enabled="true" filePath=""/>
  377 + <parser enabled="true"/>
  378 + </buildOutputProvider>
  379 + <scannerInfoProvider id="specsFile">
  380 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
  381 + <parser enabled="true"/>
  382 + </scannerInfoProvider>
  383 + </profile>
  384 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.ExternalToolchainPerProjectProfileC">
  385 + <buildOutputProvider>
  386 + <openAction enabled="true" filePath=""/>
  387 + <parser enabled="true"/>
  388 + </buildOutputProvider>
  389 + <scannerInfoProvider id="specsFile">
  390 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
  391 + <parser enabled="true"/>
  392 + </scannerInfoProvider>
  393 + </profile>
  394 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.ExternalToolchainPerFileProfile">
  395 + <buildOutputProvider>
  396 + <openAction enabled="true" filePath=""/>
  397 + <parser enabled="true"/>
  398 + </buildOutputProvider>
  399 + <scannerInfoProvider id="makefileGenerator">
  400 + <runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
  401 + <parser enabled="true"/>
  402 + </scannerInfoProvider>
  403 + </profile>
  404 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.QNXMultiToolchainProfile">
  405 + <buildOutputProvider>
  406 + <openAction enabled="true" filePath=""/>
  407 + <parser enabled="true"/>
  408 + </buildOutputProvider>
  409 + <scannerInfoProvider id="specsFile">
  410 + <runAction arguments="-f ${plugin_state_location}/qdereflection.mk PLATFORM=nto/x86 qde-reflect" command="make" useDefault="true"/>
  411 + <parser enabled="true"/>
  412 + </scannerInfoProvider>
  413 + </profile>
  414 + <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
  415 + <buildOutputProvider>
  416 + <openAction enabled="true" filePath=""/>
  417 + <parser enabled="true"/>
  418 + </buildOutputProvider>
  419 + <scannerInfoProvider id="specsFile">
  420 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
  421 + <parser enabled="true"/>
  422 + </scannerInfoProvider>
  423 + </profile>
  424 + <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
  425 + <buildOutputProvider>
  426 + <openAction enabled="true" filePath=""/>
  427 + <parser enabled="true"/>
  428 + </buildOutputProvider>
  429 + <scannerInfoProvider id="makefileGenerator">
  430 + <runAction arguments="-E -P -v -dD" command="" useDefault="true"/>
  431 + <parser enabled="true"/>
  432 + </scannerInfoProvider>
  433 + </profile>
  434 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
  435 + <buildOutputProvider>
  436 + <openAction enabled="true" filePath=""/>
  437 + <parser enabled="true"/>
  438 + </buildOutputProvider>
  439 + <scannerInfoProvider id="specsFile">
  440 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
  441 + <parser enabled="true"/>
  442 + </scannerInfoProvider>
  443 + </profile>
  444 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
  445 + <buildOutputProvider>
  446 + <openAction enabled="true" filePath=""/>
  447 + <parser enabled="true"/>
  448 + </buildOutputProvider>
  449 + <scannerInfoProvider id="specsFile">
  450 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
  451 + <parser enabled="true"/>
  452 + </scannerInfoProvider>
  453 + </profile>
  454 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
  455 + <buildOutputProvider>
  456 + <openAction enabled="true" filePath=""/>
  457 + <parser enabled="true"/>
  458 + </buildOutputProvider>
  459 + <scannerInfoProvider id="specsFile">
  460 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
  461 + <parser enabled="true"/>
  462 + </scannerInfoProvider>
  463 + </profile>
  464 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
  465 + <buildOutputProvider>
  466 + <openAction enabled="true" filePath=""/>
  467 + <parser enabled="true"/>
  468 + </buildOutputProvider>
  469 + <scannerInfoProvider id="specsFile">
  470 + <runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/${specs_file}&quot;'" command="sh" useDefault="true"/>
  471 + <parser enabled="true"/>
  472 + </scannerInfoProvider>
  473 + </profile>
  474 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
  475 + <buildOutputProvider>
  476 + <openAction enabled="true" filePath=""/>
  477 + <parser enabled="true"/>
  478 + </buildOutputProvider>
  479 + <scannerInfoProvider id="specsFile">
  480 + <runAction arguments="-c 'g++ -E -P -v -dD &quot;${plugin_state_location}/specs.cpp&quot;'" command="sh" useDefault="true"/>
  481 + <parser enabled="true"/>
  482 + </scannerInfoProvider>
  483 + </profile>
  484 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
  485 + <buildOutputProvider>
  486 + <openAction enabled="true" filePath=""/>
  487 + <parser enabled="true"/>
  488 + </buildOutputProvider>
  489 + <scannerInfoProvider id="specsFile">
  490 + <runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/specs.c&quot;'" command="sh" useDefault="true"/>
  491 + <parser enabled="true"/>
  492 + </scannerInfoProvider>
  493 + </profile>
  494 + </scannerConfigBuildInfo>
  495 + <scannerConfigBuildInfo instanceId="com.qnx.qcc.configuration.staticLib.debug.1320757507">
  496 + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
  497 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo">
  498 + <buildOutputProvider>
  499 + <openAction enabled="true" filePath=""/>
  500 + <parser enabled="true"/>
  501 + </buildOutputProvider>
  502 + <scannerInfoProvider id="qccSpecsFile">
  503 + <runAction arguments="-E -Wp,-P -Wp,-v -Wp,-dD ${plugin_state_location}/${specs_file}" command="qcc" useDefault="true"/>
  504 + <parser enabled="true"/>
  505 + </scannerInfoProvider>
  506 + </profile>
  507 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfoPerFile">
  508 + <buildOutputProvider>
  509 + <openAction enabled="true" filePath=""/>
  510 + <parser enabled="true"/>
  511 + </buildOutputProvider>
  512 + <scannerInfoProvider id="qccMakeFileGenerator">
  513 + <runAction arguments="-f ${project_name}_scd.mk | -E -Wp,-P -Wp,-v -Wp,-dD" command="make" useDefault="true"/>
  514 + <parser enabled="true"/>
  515 + </scannerInfoProvider>
  516 + </profile>
  517 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.ExternalToolchainPerProjectProfileCPP">
  518 + <buildOutputProvider>
  519 + <openAction enabled="true" filePath=""/>
  520 + <parser enabled="true"/>
  521 + </buildOutputProvider>
  522 + <scannerInfoProvider id="specsFile">
  523 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
  524 + <parser enabled="true"/>
  525 + </scannerInfoProvider>
  526 + </profile>
  527 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.ExternalToolchainPerProjectProfileC">
  528 + <buildOutputProvider>
  529 + <openAction enabled="true" filePath=""/>
  530 + <parser enabled="true"/>
  531 + </buildOutputProvider>
  532 + <scannerInfoProvider id="specsFile">
  533 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
  534 + <parser enabled="true"/>
  535 + </scannerInfoProvider>
  536 + </profile>
  537 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.ExternalToolchainPerFileProfile">
  538 + <buildOutputProvider>
  539 + <openAction enabled="true" filePath=""/>
  540 + <parser enabled="true"/>
  541 + </buildOutputProvider>
  542 + <scannerInfoProvider id="makefileGenerator">
  543 + <runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
  544 + <parser enabled="true"/>
  545 + </scannerInfoProvider>
  546 + </profile>
  547 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.QNXMultiToolchainProfile">
  548 + <buildOutputProvider>
  549 + <openAction enabled="true" filePath=""/>
  550 + <parser enabled="true"/>
  551 + </buildOutputProvider>
  552 + <scannerInfoProvider id="specsFile">
  553 + <runAction arguments="-f ${plugin_state_location}/qdereflection.mk PLATFORM=nto/x86 qde-reflect" command="make" useDefault="true"/>
  554 + <parser enabled="true"/>
  555 + </scannerInfoProvider>
  556 + </profile>
  557 + <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
  558 + <buildOutputProvider>
  559 + <openAction enabled="true" filePath=""/>
  560 + <parser enabled="true"/>
  561 + </buildOutputProvider>
  562 + <scannerInfoProvider id="specsFile">
  563 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
  564 + <parser enabled="true"/>
  565 + </scannerInfoProvider>
  566 + </profile>
  567 + <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
  568 + <buildOutputProvider>
  569 + <openAction enabled="true" filePath=""/>
  570 + <parser enabled="true"/>
  571 + </buildOutputProvider>
  572 + <scannerInfoProvider id="makefileGenerator">
  573 + <runAction arguments="-E -P -v -dD" command="" useDefault="true"/>
  574 + <parser enabled="true"/>
  575 + </scannerInfoProvider>
  576 + </profile>
  577 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
  578 + <buildOutputProvider>
  579 + <openAction enabled="true" filePath=""/>
  580 + <parser enabled="true"/>
  581 + </buildOutputProvider>
  582 + <scannerInfoProvider id="specsFile">
  583 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
  584 + <parser enabled="true"/>
  585 + </scannerInfoProvider>
  586 + </profile>
  587 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
  588 + <buildOutputProvider>
  589 + <openAction enabled="true" filePath=""/>
  590 + <parser enabled="true"/>
  591 + </buildOutputProvider>
  592 + <scannerInfoProvider id="specsFile">
  593 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
  594 + <parser enabled="true"/>
  595 + </scannerInfoProvider>
  596 + </profile>
  597 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
  598 + <buildOutputProvider>
  599 + <openAction enabled="true" filePath=""/>
  600 + <parser enabled="true"/>
  601 + </buildOutputProvider>
  602 + <scannerInfoProvider id="specsFile">
  603 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
  604 + <parser enabled="true"/>
  605 + </scannerInfoProvider>
  606 + </profile>
  607 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
  608 + <buildOutputProvider>
  609 + <openAction enabled="true" filePath=""/>
  610 + <parser enabled="true"/>
  611 + </buildOutputProvider>
  612 + <scannerInfoProvider id="specsFile">
  613 + <runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/${specs_file}&quot;'" command="sh" useDefault="true"/>
  614 + <parser enabled="true"/>
  615 + </scannerInfoProvider>
  616 + </profile>
  617 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
  618 + <buildOutputProvider>
  619 + <openAction enabled="true" filePath=""/>
  620 + <parser enabled="true"/>
  621 + </buildOutputProvider>
  622 + <scannerInfoProvider id="specsFile">
  623 + <runAction arguments="-c 'g++ -E -P -v -dD &quot;${plugin_state_location}/specs.cpp&quot;'" command="sh" useDefault="true"/>
  624 + <parser enabled="true"/>
  625 + </scannerInfoProvider>
  626 + </profile>
  627 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
  628 + <buildOutputProvider>
  629 + <openAction enabled="true" filePath=""/>
  630 + <parser enabled="true"/>
  631 + </buildOutputProvider>
  632 + <scannerInfoProvider id="specsFile">
  633 + <runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/specs.c&quot;'" command="sh" useDefault="true"/>
  634 + <parser enabled="true"/>
  635 + </scannerInfoProvider>
  636 + </profile>
  637 + </scannerConfigBuildInfo>
  638 + <scannerConfigBuildInfo instanceId="com.qnx.qcc.configuration.staticLib.release.717311672">
  639 + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
  640 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo">
  641 + <buildOutputProvider>
  642 + <openAction enabled="true" filePath=""/>
  643 + <parser enabled="true"/>
  644 + </buildOutputProvider>
  645 + <scannerInfoProvider id="qccSpecsFile">
  646 + <runAction arguments="-E -Wp,-P -Wp,-v -Wp,-dD ${plugin_state_location}/${specs_file}" command="qcc" useDefault="true"/>
  647 + <parser enabled="true"/>
  648 + </scannerInfoProvider>
  649 + </profile>
  650 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfoPerFile">
  651 + <buildOutputProvider>
  652 + <openAction enabled="true" filePath=""/>
  653 + <parser enabled="true"/>
  654 + </buildOutputProvider>
  655 + <scannerInfoProvider id="qccMakeFileGenerator">
  656 + <runAction arguments="-f ${project_name}_scd.mk | -E -Wp,-P -Wp,-v -Wp,-dD" command="make" useDefault="true"/>
  657 + <parser enabled="true"/>
  658 + </scannerInfoProvider>
  659 + </profile>
  660 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.ExternalToolchainPerProjectProfileCPP">
  661 + <buildOutputProvider>
  662 + <openAction enabled="true" filePath=""/>
  663 + <parser enabled="true"/>
  664 + </buildOutputProvider>
  665 + <scannerInfoProvider id="specsFile">
  666 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
  667 + <parser enabled="true"/>
  668 + </scannerInfoProvider>
  669 + </profile>
  670 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.ExternalToolchainPerProjectProfileC">
  671 + <buildOutputProvider>
  672 + <openAction enabled="true" filePath=""/>
  673 + <parser enabled="true"/>
  674 + </buildOutputProvider>
  675 + <scannerInfoProvider id="specsFile">
  676 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
  677 + <parser enabled="true"/>
  678 + </scannerInfoProvider>
  679 + </profile>
  680 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.ExternalToolchainPerFileProfile">
  681 + <buildOutputProvider>
  682 + <openAction enabled="true" filePath=""/>
  683 + <parser enabled="true"/>
  684 + </buildOutputProvider>
  685 + <scannerInfoProvider id="makefileGenerator">
  686 + <runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
  687 + <parser enabled="true"/>
  688 + </scannerInfoProvider>
  689 + </profile>
  690 + <profile id="com.qnx.tools.ide.qde.managedbuilder.core.QNXMultiToolchainProfile">
  691 + <buildOutputProvider>
  692 + <openAction enabled="true" filePath=""/>
  693 + <parser enabled="true"/>
  694 + </buildOutputProvider>
  695 + <scannerInfoProvider id="specsFile">
  696 + <runAction arguments="-f ${plugin_state_location}/qdereflection.mk PLATFORM=nto/x86 qde-reflect" command="make" useDefault="true"/>
  697 + <parser enabled="true"/>
  698 + </scannerInfoProvider>
  699 + </profile>
  700 + <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
  701 + <buildOutputProvider>
  702 + <openAction enabled="true" filePath=""/>
  703 + <parser enabled="true"/>
  704 + </buildOutputProvider>
  705 + <scannerInfoProvider id="specsFile">
  706 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
  707 + <parser enabled="true"/>
  708 + </scannerInfoProvider>
  709 + </profile>
  710 + <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
  711 + <buildOutputProvider>
  712 + <openAction enabled="true" filePath=""/>
  713 + <parser enabled="true"/>
  714 + </buildOutputProvider>
  715 + <scannerInfoProvider id="makefileGenerator">
  716 + <runAction arguments="-E -P -v -dD" command="" useDefault="true"/>
  717 + <parser enabled="true"/>
  718 + </scannerInfoProvider>
  719 + </profile>
  720 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
  721 + <buildOutputProvider>
  722 + <openAction enabled="true" filePath=""/>
  723 + <parser enabled="true"/>
  724 + </buildOutputProvider>
  725 + <scannerInfoProvider id="specsFile">
  726 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
  727 + <parser enabled="true"/>
  728 + </scannerInfoProvider>
  729 + </profile>
  730 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
  731 + <buildOutputProvider>
  732 + <openAction enabled="true" filePath=""/>
  733 + <parser enabled="true"/>
  734 + </buildOutputProvider>
  735 + <scannerInfoProvider id="specsFile">
  736 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
  737 + <parser enabled="true"/>
  738 + </scannerInfoProvider>
  739 + </profile>
  740 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
  741 + <buildOutputProvider>
  742 + <openAction enabled="true" filePath=""/>
  743 + <parser enabled="true"/>
  744 + </buildOutputProvider>
  745 + <scannerInfoProvider id="specsFile">
  746 + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
  747 + <parser enabled="true"/>
  748 + </scannerInfoProvider>
  749 + </profile>
  750 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
  751 + <buildOutputProvider>
  752 + <openAction enabled="true" filePath=""/>
  753 + <parser enabled="true"/>
  754 + </buildOutputProvider>
  755 + <scannerInfoProvider id="specsFile">
  756 + <runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/${specs_file}&quot;'" command="sh" useDefault="true"/>
  757 + <parser enabled="true"/>
  758 + </scannerInfoProvider>
  759 + </profile>
  760 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
  761 + <buildOutputProvider>
  762 + <openAction enabled="true" filePath=""/>
  763 + <parser enabled="true"/>
  764 + </buildOutputProvider>
  765 + <scannerInfoProvider id="specsFile">
  766 + <runAction arguments="-c 'g++ -E -P -v -dD &quot;${plugin_state_location}/specs.cpp&quot;'" command="sh" useDefault="true"/>
  767 + <parser enabled="true"/>
  768 + </scannerInfoProvider>
  769 + </profile>
  770 + <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
  771 + <buildOutputProvider>
  772 + <openAction enabled="true" filePath=""/>
  773 + <parser enabled="true"/>
  774 + </buildOutputProvider>
  775 + <scannerInfoProvider id="specsFile">
  776 + <runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/specs.c&quot;'" command="sh" useDefault="true"/>
  777 + <parser enabled="true"/>
  778 + </scannerInfoProvider>
  779 + </profile>
  780 + </scannerConfigBuildInfo>
  781 + </storageModule>
  782 +</cproject>
89 .project
... ... @@ -0,0 +1,89 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<projectDescription>
  3 + <name>bullet</name>
  4 + <comment></comment>
  5 + <projects>
  6 + </projects>
  7 + <buildSpec>
  8 + <buildCommand>
  9 + <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
  10 + <triggers>clean,full,incremental,</triggers>
  11 + <arguments>
  12 + <dictionary>
  13 + <key>?name?</key>
  14 + <value></value>
  15 + </dictionary>
  16 + <dictionary>
  17 + <key>org.eclipse.cdt.make.core.append_environment</key>
  18 + <value>true</value>
  19 + </dictionary>
  20 + <dictionary>
  21 + <key>org.eclipse.cdt.make.core.autoBuildTarget</key>
  22 + <value>all</value>
  23 + </dictionary>
  24 + <dictionary>
  25 + <key>org.eclipse.cdt.make.core.buildArguments</key>
  26 + <value></value>
  27 + </dictionary>
  28 + <dictionary>
  29 + <key>org.eclipse.cdt.make.core.buildCommand</key>
  30 + <value>make</value>
  31 + </dictionary>
  32 + <dictionary>
  33 + <key>org.eclipse.cdt.make.core.buildLocation</key>
  34 + <value>${workspace_loc:/gameplay/Device-Debug}</value>
  35 + </dictionary>
  36 + <dictionary>
  37 + <key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
  38 + <value>clean</value>
  39 + </dictionary>
  40 + <dictionary>
  41 + <key>org.eclipse.cdt.make.core.contents</key>
  42 + <value>org.eclipse.cdt.make.core.activeConfigSettings</value>
  43 + </dictionary>
  44 + <dictionary>
  45 + <key>org.eclipse.cdt.make.core.enableAutoBuild</key>
  46 + <value>false</value>
  47 + </dictionary>
  48 + <dictionary>
  49 + <key>org.eclipse.cdt.make.core.enableCleanBuild</key>
  50 + <value>true</value>
  51 + </dictionary>
  52 + <dictionary>
  53 + <key>org.eclipse.cdt.make.core.enableFullBuild</key>
  54 + <value>true</value>
  55 + </dictionary>
  56 + <dictionary>
  57 + <key>org.eclipse.cdt.make.core.fullBuildTarget</key>
  58 + <value>all</value>
  59 + </dictionary>
  60 + <dictionary>
  61 + <key>org.eclipse.cdt.make.core.stopOnError</key>
  62 + <value>true</value>
  63 + </dictionary>
  64 + <dictionary>
  65 + <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
  66 + <value>true</value>
  67 + </dictionary>
  68 + </arguments>
  69 + </buildCommand>
  70 + <buildCommand>
  71 + <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
  72 + <triggers>full,incremental,</triggers>
  73 + <arguments>
  74 + </arguments>
  75 + </buildCommand>
  76 + <buildCommand>
  77 + <name>com.qnx.tools.bbt.xml.core.bbtXMLValidationBuilder</name>
  78 + <arguments>
  79 + </arguments>
  80 + </buildCommand>
  81 + </buildSpec>
  82 + <natures>
  83 + <nature>org.eclipse.cdt.core.cnature</nature>
  84 + <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
  85 + <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
  86 + <nature>com.qnx.tools.ide.bbt.core.bbtnature</nature>
  87 + <nature>org.eclipse.cdt.core.ccnature</nature>
  88 + </natures>
  89 +</projectDescription>
22 AUTHORS
... ... @@ -0,0 +1,22 @@
  1 +
  2 +Bullet Physics Library is an open source project with help from the community at the Physics Forum
  3 +See the forum at http://bulletphysics.com
  4 +
  5 +The project was started by Erwin Coumans
  6 +
  7 +Following people contributed to Bullet
  8 +(random order, please let us know on the forum if your name should be in this list)
  9 +
  10 +Gino van den Bergen: LinearMath classes
  11 +Christer Ericson: parts of the voronoi simplex solver
  12 +Simon Hobbs: 3d axis sweep and prune, Extras/SATCollision, separating axis theorem + SIMD code
  13 +Dirk Gregorius: generic D6 constraint
  14 +Erin Catto: accumulated impulse in sequential impulse
  15 +Nathanael Presson: EPA penetration depth calculation
  16 +Francisco Leon: GIMPACT Concave Concave collision
  17 +Joerg Henrichs: make buildsystem (work in progress)
  18 +Eric Sunshine: jam + msvcgen buildsystem
  19 +Steve Baker: GPU physics and general implementation improvements
  20 +Jay Lee: Double precision support
  21 +KleMiX, aka Vsevolod Klementjev, managed version, rewritten in C# for XNA
  22 +Erwin Coumans: most other source code
BIN  BspDemo.bsp
Binary file not shown
0  BspDemo.bsp
Sorry, we could not display the changes to this file because there were too many other changes to display.
18 BulletLicense.txt
... ... @@ -0,0 +1,18 @@
  1 +/*
  2 +Copyright (c) 2003-2010 Erwin Coumans http://continuousphysics.com/Bullet/
  3 +
  4 +This software is provided 'as-is', without any express or implied warranty.
  5 +In no event will the authors be held liable for any damages arising from the use of this software.
  6 +Permission is granted to anyone to use this software for any purpose,
  7 +including commercial applications, and to alter it and redistribute it freely,
  8 +subject to the following restrictions:
  9 +
  10 +1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
  11 +2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  12 +3. This notice may not be removed or altered from any source distribution.
  13 +*/
  14 +
  15 +
  16 +Free for commercial use, please report projects in the forum at http://www.bulletphysics.org
  17 +
  18 +In case you want to display a Bullet logo in your software: you can download the Bullet logo in various vector formats and high resolution at the download section in http://bullet.googlecode.com
BIN  Bullet_User_Manual.pdf
Binary file not shown
0  Bullet_User_Manual.pdf
Sorry, we could not display the changes to this file because there were too many other changes to display.
378 CMakeLists.txt
... ... @@ -0,0 +1,378 @@
  1 +cmake_minimum_required(VERSION 2.4.3)
  2 +set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
  3 +
  4 +#this line has to appear before 'PROJECT' in order to be able to disable incremental linking
  5 +SET(MSVC_INCREMENTAL_DEFAULT ON)
  6 +
  7 +PROJECT(BULLET_PHYSICS)
  8 +SET(BULLET_VERSION 2.79)
  9 +
  10 +IF(COMMAND cmake_policy)
  11 + cmake_policy(SET CMP0003 NEW)
  12 +ENDIF(COMMAND cmake_policy)
  13 +
  14 +
  15 +IF (NOT CMAKE_BUILD_TYPE)
  16 +# SET(CMAKE_BUILD_TYPE "Debug")
  17 + SET(CMAKE_BUILD_TYPE "Release")
  18 +ENDIF (NOT CMAKE_BUILD_TYPE)
  19 +
  20 +SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG")
  21 +#MESSAGE("CMAKE_CXX_FLAGS_DEBUG="+${CMAKE_CXX_FLAGS_DEBUG})
  22 +
  23 +OPTION(USE_DOUBLE_PRECISION "Use double precision" OFF)
  24 +OPTION(USE_GRAPHICAL_BENCHMARK "Use Graphical Benchmark" ON)
  25 +OPTION(USE_MULTITHREADED_BENCHMARK "Use Multithreaded Benchmark" OFF)
  26 +
  27 +IF (USE_MULTITHREADED_BENCHMARK)
  28 + ADD_DEFINITIONS(-DUSE_PARALLEL_SOLVER_BENCHMARK -DUSE_PARALLEL_DISPATCHER_BENCHMARK)
  29 +ENDIF()
  30 +
  31 +OPTION(USE_MSVC_RUNTIME_LIBRARY_DLL "Use MSVC Runtime Library DLL (/MD or /MDd)" OFF)
  32 +OPTION(USE_MSVC_INCREMENTAL_LINKING "Use MSVC Incremental Linking" OFF)
  33 +
  34 +OPTION(USE_CUSTOM_VECTOR_MATH "Use custom vectormath library" OFF)
  35 +
  36 +IF (USE_CUSTOM_VECTOR_MATH)
  37 + ADD_DEFINITIONS(-DUSE_SYSTEM_VECTORMATH)
  38 + IF(WIN32)
  39 + SET (VECTOR_MATH_INCLUDE ${BULLET_PHYSICS_SOURCE_DIR}/src/vectormath/sse CACHE PATH "Vector Math library include path.")
  40 + ELSE(WIN32)
  41 + SET (VECTOR_MATH_INCLUDE ${BULLET_PHYSICS_SOURCE_DIR}/src/vectormath/scalar CACHE PATH "Vector Math library include path.")
  42 + ENDIF(WIN32)
  43 +ENDIF(USE_CUSTOM_VECTOR_MATH)
  44 +
  45 +IF (MSVC)
  46 + FIND_PATH(DIRECTX_SDK_BASE_DIR Include/D3D11.h PATH $ENV{DXSDK_DIR} )
  47 + IF(DIRECTX_SDK_BASE_DIR)
  48 + OPTION(USE_DX11 "Use DirectX 11" ON)
  49 + ELSE()
  50 + OPTION(USE_DX11 "Use DirectX 11" OFF)
  51 + ENDIF()
  52 +ENDIF(MSVC)
  53 +
  54 +
  55 +#SET(CMAKE_EXE_LINKER_FLAGS_INIT "/STACK:10000000 /INCREMENTAL:NO")
  56 +#SET(CMAKE_EXE_LINKER_FLAGS "/STACK:10000000 /INCREMENTAL:NO")
  57 +
  58 +#MESSAGE("MSVC_INCREMENTAL_YES_FLAG"+${MSVC_INCREMENTAL_YES_FLAG})
  59 +
  60 +
  61 +IF(MSVC)
  62 + IF (NOT USE_MSVC_INCREMENTAL_LINKING)
  63 + #MESSAGE("MSVC_INCREMENTAL_DEFAULT"+${MSVC_INCREMENTAL_DEFAULT})
  64 + SET( MSVC_INCREMENTAL_YES_FLAG "/INCREMENTAL:NO")
  65 +
  66 + STRING(REPLACE "INCREMENTAL:YES" "INCREMENTAL:NO" replacementFlags ${CMAKE_EXE_LINKER_FLAGS_DEBUG})
  67 + SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "/INCREMENTAL:NO ${replacementFlags}" )
  68 + MESSAGE("CMAKE_EXE_LINKER_FLAGS_DEBUG=${CMAKE_EXE_LINKER_FLAGS_DEBUG}")
  69 +
  70 +# STRING(REPLACE "INCREMENTAL:YES" "INCREMENTAL:NO" replacementFlags2 ${CMAKE_EXE_LINKER_FLAGS})
  71 +# SET(CMAKE_EXE_LINKER_FLAGS ${replacementFlag2})
  72 +# STRING(REPLACE "INCREMENTAL:YES" "" replacementFlags3 ${CMAKE_EXTRA_LINK_FLAGS})
  73 +# SET(CMAKE_EXTRA_LINK_FLAGS ${replacementFlag3})
  74 +
  75 +
  76 + STRING(REPLACE "INCREMENTAL:YES" "INCREMENTAL:NO" replacementFlags3 ${CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO})
  77 + SET(CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO ${replacementFlags3})
  78 + SET(CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO "/INCREMENTAL:NO ${replacementFlags3}" )
  79 +
  80 + ENDIF (NOT USE_MSVC_INCREMENTAL_LINKING)
  81 +
  82 + IF (NOT USE_MSVC_RUNTIME_LIBRARY_DLL)
  83 + #We statically link to reduce dependancies
  84 + FOREACH(flag_var CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO)
  85 + IF(${flag_var} MATCHES "/MD")
  86 + STRING(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")
  87 + ENDIF(${flag_var} MATCHES "/MD")
  88 + IF(${flag_var} MATCHES "/MDd")
  89 + STRING(REGEX REPLACE "/MDd" "/MTd" ${flag_var} "${${flag_var}}")
  90 + ENDIF(${flag_var} MATCHES "/MDd")
  91 + ENDFOREACH(flag_var)
  92 + ENDIF (NOT USE_MSVC_RUNTIME_LIBRARY_DLL)
  93 +
  94 + OPTION(USE_MSVC_SSE "Use MSVC /arch:sse option" ON)
  95 + IF (USE_MSVC_SSE)
  96 + ADD_DEFINITIONS(/arch:SSE)
  97 + ENDIF()
  98 + OPTION(USE_MSVC_FAST_FLOATINGPOINT "Use MSVC /fp:fast option" ON)
  99 + IF (USE_MSVC_FAST_FLOATINGPOINT)
  100 + ADD_DEFINITIONS(/fp:fast)
  101 + ENDIF()
  102 +ENDIF(MSVC)
  103 +
  104 +
  105 +
  106 +IF (WIN32)
  107 +OPTION(INTERNAL_CREATE_DISTRIBUTABLE_MSVC_PROJECTFILES "Create MSVC projectfiles that can be distributed" OFF)
  108 +
  109 +IF (INTERNAL_CREATE_DISTRIBUTABLE_MSVC_PROJECTFILES)
  110 + SET (LIBRARY_OUTPUT_PATH ${BULLET_PHYSICS_SOURCE_DIR}/lib CACHE PATH "Single output directory for building all libraries.")
  111 + SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${BULLET_PHYSICS_SOURCE_DIR})
  112 + SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${BULLET_PHYSICS_SOURCE_DIR})
  113 + SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${BULLET_PHYSICS_SOURCE_DIR})
  114 + SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY_MINSIZEREL ${BULLET_PHYSICS_SOURCE_DIR})
  115 + SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO ${BULLET_PHYSICS_SOURCE_DIR})
  116 +ELSE()
  117 + SET (LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib CACHE PATH "Single output directory for building all libraries.")
  118 +ENDIF()
  119 +
  120 +
  121 +
  122 +OPTION(INTERNAL_CREATE_MSVC_RELATIVE_PATH_PROJECTFILES "Create MSVC projectfiles with relative paths" OFF)
  123 +OPTION(INTERNAL_ADD_POSTFIX_EXECUTABLE_NAMES "Add MSVC postfix for executable names (_Debug)" OFF)
  124 +
  125 +SET(CMAKE_DEBUG_POSTFIX "_Debug" CACHE STRING "Adds a postfix for debug-built libraries.")
  126 +SET(CMAKE_MINSIZEREL_POSTFIX "_MinsizeRel" CACHE STRING "Adds a postfix for MinsizeRelease-built libraries.")
  127 +SET(CMAKE_RELWITHDEBINFO_POSTFIX "_RelWithDebugInfo" CACHE STRING "Adds a postfix for ReleaseWithDebug-built libraries.")
  128 +
  129 +
  130 +
  131 +IF(MSVC)
  132 + FIND_PATH(AMD_OPENCL_BASE_DIR include/CL/cl.h PATH $ENV{ATISTREAMSDKROOT} $ENV{AMDAPPSDKROOT} )
  133 + IF(AMD_OPENCL_BASE_DIR)
  134 + #AMD adds an extras slash at the end of the ATISTREAMSDKROOT variable
  135 + SET(AMD_OPENCL_INCLUDES ${AMD_OPENCL_BASE_DIR}/include )
  136 + MESSAGE("AMD OPENCL SDK FOUND")
  137 + MESSAGE(${AMD_OPENCL_INCLUDES})
  138 + IF (CMAKE_CL_64)
  139 + SET(CMAKE_ATISTREAMSDK_LIBPATH ${AMD_OPENCL_BASE_DIR}/lib/x86_64 )
  140 + ELSE(CMAKE_CL_64)
  141 + SET(CMAKE_ATISTREAMSDK_LIBPATH ${AMD_OPENCL_BASE_DIR}/lib/x86 )
  142 + ENDIF(CMAKE_CL_64)
  143 + OPTION(BUILD_AMD_OPENCL_DEMOS "Build OpenCL demos for AMD (GPU or CPU)" ON)
  144 + ELSE()
  145 + OPTION(BUILD_AMD_OPENCL_DEMOS "Build OpenCL demos for AMD (GPU or CPU)" OFF)
  146 + ENDIF()
  147 +
  148 + FIND_PATH(INTEL_OPENCL_BASE_DIR include/CL/cl.h PATH $ENV{INTELOCLSDKROOT} )
  149 + IF(INTEL_OPENCL_BASE_DIR)
  150 + SET(INTEL_OPENCL_INCLUDES ${INTEL_OPENCL_BASE_DIR}/include )
  151 + MESSAGE("INTEL OPENCL SDK FOUND")
  152 + MESSAGE(${INTEL_OPENCL_INCLUDES})
  153 + IF (CMAKE_CL_64)
  154 + SET(CMAKE_INTELOCLSDK_LIBPATH ${INTEL_OPENCL_BASE_DIR}/lib/x64 )
  155 + ELSE(CMAKE_CL_64)
  156 + SET(CMAKE_INTELOCLSDK_LIBPATH ${INTEL_OPENCL_BASE_DIR}/lib/x86 )
  157 + ENDIF(CMAKE_CL_64)
  158 + SET(INTEL_OPENCL_LIBRARIES ${CMAKE_INTELOCLSDK_LIBPATH}/OpenCL.lib)
  159 + OPTION(BUILD_INTEL_OPENCL_DEMOS "Build OpenCL demos for Intel (CPU)" ON)
  160 + ELSE()
  161 + OPTION(BUILD_INTEL_OPENCL_DEMOS "Build OpenCL demos for Intel (CPU)" OFF)
  162 + ENDIF()
  163 +
  164 + FIND_PATH(NVIDIA_OPENCL_BASE_DIR include/CL/cl.h PATH $ENV{CUDA_PATH} )
  165 + IF(NVIDIA_OPENCL_BASE_DIR)
  166 + SET(NVIDIA_OPENCL_INCLUDES ${NVIDIA_OPENCL_BASE_DIR}/include )
  167 + MESSAGE("NVIDIA OPENCL SDK FOUND")
  168 + MESSAGE(${NVIDIA_OPENCL_INCLUDES})
  169 + IF (CMAKE_CL_64)
  170 + SET(CMAKE_NVSDKCOMPUTE_LIBPATH ${NVIDIA_OPENCL_BASE_DIR}/lib/x64 )
  171 + ELSE(CMAKE_CL_64)
  172 + SET(CMAKE_NVSDKCOMPUTE_LIBPATH ${NVIDIA_OPENCL_BASE_DIR}/lib/Win32 )
  173 + ENDIF(CMAKE_CL_64)
  174 + SET(NVIDIA_OPENCL_LIBRARIES ${CMAKE_NVSDKCOMPUTE_LIBPATH}/OpenCL.lib)
  175 +
  176 + OPTION(BUILD_NVIDIA_OPENCL_DEMOS "Build OpenCL demos for NVidia (GPU)" ON)
  177 + ELSE()
  178 + OPTION(BUILD_NVIDIA_OPENCL_DEMOS "Build OpenCL demos for NVidia (GPU)" OFF)
  179 + ENDIF()
  180 +ENDIF()
  181 +
  182 +
  183 +
  184 +IF (INTERNAL_CREATE_MSVC_RELATIVE_PATH_PROJECTFILES)
  185 +SET(CMAKE_SUPPRESS_REGENERATION 1)
  186 +SET(CMAKE_USE_RELATIVE_PATHS 1)
  187 +ENDIF(INTERNAL_CREATE_MSVC_RELATIVE_PATH_PROJECTFILES)
  188 +
  189 +ENDIF (WIN32)
  190 +
  191 +IF (MSVC OR APPLE)
  192 + OPTION(BUILD_MINICL_OPENCL_DEMOS "Build OpenCL demos for MiniCL (Generic CPU)" ON)
  193 +ELSE()
  194 + OPTION(BUILD_MINICL_OPENCL_DEMOS "Build OpenCL demos for MiniCL (Generic CPU)" OFF)
  195 +
  196 + FIND_PATH(INTEL_OPENCL_INCLUDES CL/cl.h)
  197 + FIND_PATH(INTEL_OPENCL_ICD_CFG intelocl64.icd /etc/OpenCL/vendors)
  198 + FIND_LIBRARY(INTEL_OPENCL_LIBRARIES OpenCL PATH /usr/lib64)
  199 + IF (INTEL_OPENCL_INCLUDES AND INTEL_OPENCL_LIBRARIES AND INTEL_OPENCL_ICD_CFG)
  200 + MESSAGE("INTEL OPENCL SDK FOUND")
  201 + MESSAGE(${INTEL_OPENCL_LIBRARIES})
  202 + OPTION(BUILD_INTEL_OPENCL_DEMOS "Build OpenCL demos for Intel (CPU)" ON)
  203 + ELSE ()
  204 + MESSAGE("INTEL OPENCL NOT FOUND")