libbullet.conf 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. //-----------------------------------------------------------------------------
  3. // Copyright (c) 2012 GarageGames, LLC
  4. //
  5. // Permission is hereby granted, free of charge, to any person obtaining a copy
  6. // of this software and associated documentation files (the "Software"), to
  7. // deal in the Software without restriction, including without limitation the
  8. // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  9. // sell copies of the Software, and to permit persons to whom the Software is
  10. // furnished to do so, subject to the following conditions:
  11. //
  12. // The above copyright notice and this permission notice shall be included in
  13. // all copies or substantial portions of the Software.
  14. //
  15. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  16. // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  17. // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  18. // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  19. // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  20. // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  21. // IN THE SOFTWARE.
  22. //-----------------------------------------------------------------------------
  23. beginLibConfig( 'libbullet', '{4368B65C-F5EF-4D28-B533-B02A04EBE921}' );
  24. // Source
  25. addLibSrcDir( 'bullet/src' );
  26. addLibSrcDir( 'bullet/src/BulletCollision' );
  27. addLibSrcDir( 'bullet/src/BulletCollision/BroadphaseCollision' );
  28. addLibSrcDir( 'bullet/src/BulletCollision/CollisionDispatch' );
  29. addLibSrcDir( 'bullet/src/BulletCollision/CollisionShapes' );
  30. addLibSrcDir( 'bullet/src/BulletCollision/Gimpact' );
  31. addLibSrcDir( 'bullet/src/BulletCollision/NarrowPhaseCollision' );
  32. addLibSrcDir( 'bullet/src/BulletDynamics' );
  33. addLibSrcDir( 'bullet/src/BulletDynamics/Character' );
  34. addLibSrcDir( 'bullet/src/BulletDynamics/ConstraintSolver' );
  35. addLibSrcDir( 'bullet/src/BulletDynamics/Dynamics' );
  36. addLibSrcDir( 'bullet/src/BulletDynamics/Vehicle' );
  37. addLibSrcDir( 'bullet/src/LinearMath' );
  38. // TODO: Can we do multicore on OSX?
  39. if ( T3D_Generator::$platform == "win32" ||
  40. T3D_Generator::$platform == "360" )
  41. {
  42. addProjectDefine( 'WIN32' );
  43. addLibSrcDir( 'bullet/src/BulletMultiThreaded' );
  44. addLibSrcDir( 'bullet/src/BulletMultiThreaded/MiniCLTask' );
  45. addLibSrcDir( 'bullet/src/BulletMultiThreaded/SpuNarrowPhaseCollisionTask' );
  46. addLibIncludePath( 'bullet/src/BulletMultiThreaded/vectormath/scalar/cpp' );
  47. }
  48. // Additional includes
  49. addLibIncludePath( 'bullet/src' );
  50. endLibConfig();
  51. ?>