premake4.lua 872 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. project "App_ThreadingTest"
  2. kind "ConsoleApp"
  3. -- defines { }
  4. includedirs
  5. {
  6. ".","../../src"
  7. }
  8. links { "Bullet3Common" }
  9. files {
  10. "b3ThreadSupportInterface.cpp",
  11. "main.cpp",
  12. "b3ThreadSupportInterface.h"
  13. }
  14. if os.is("Windows") then
  15. files {
  16. "b3Win32ThreadSupport.cpp",
  17. "b3Win32ThreadSupport.h"
  18. }
  19. --links {"winmm"}
  20. --defines {"__WINDOWS_MM__", "WIN32"}
  21. end
  22. if os.is("Linux") then
  23. files {
  24. "b3PosixThreadSupport.cpp",
  25. "b3PosixThreadSupport.h"
  26. }
  27. links {"pthread"}
  28. end
  29. if os.is("MacOSX") then
  30. files {
  31. "b3PosixThreadSupport.cpp",
  32. "b3PosixThreadSupport.h"
  33. }
  34. links {"pthread"}
  35. --links{"CoreAudio.framework", "coreMIDI.framework", "Cocoa.framework"}
  36. --defines {"__MACOSX_CORE__"}
  37. end