premake4.lua 615 B

123456789101112131415161718192021222324252627282930313233
  1. function createProject(vendor)
  2. hasCL = findOpenCL(vendor)
  3. if (hasCL) then
  4. project ("Test_OpenCL_intialize_" .. vendor)
  5. initOpenCL(vendor)
  6. language "C++"
  7. kind "ConsoleApp"
  8. includedirs {"../../../src"}
  9. files {
  10. "main.cpp",
  11. "../../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp",
  12. "../../../src/Bullet3Common/b3AlignedAllocator.cpp",
  13. "../../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.h",
  14. "../../../src/Bullet3Common/b3Logging.cpp",
  15. }
  16. end
  17. end
  18. createProject("clew")
  19. createProject("Apple")
  20. createProject("AMD")
  21. createProject("Intel")
  22. createProject("NVIDIA")