premake4.lua 561 B

12345678910111213141516171819202122232425262728293031323334
  1. project "Test_BulletDynamics"
  2. kind "ConsoleApp"
  3. defines {"USE_GTEST"}
  4. includedirs
  5. {
  6. ".",
  7. "../../../src",
  8. "../../gtest-1.7.0/include"
  9. }
  10. if os.is("Windows") then
  11. --see http://stackoverflow.com/questions/12558327/google-test-in-visual-studio-2012
  12. defines {"_VARIADIC_MAX=10"}
  13. end
  14. links {"BulletDynamics", "BulletCollision","LinearMath", "gtest"}
  15. files {
  16. "../../../examples/MultiBody/Pendulum.cpp",
  17. "../../../examples/MultiBody/pendulum_gold.h",
  18. }
  19. if os.is("Linux") then
  20. links {"pthread"}
  21. end