summaryrefslogtreecommitdiff
path: root/thirdparty/bullet/src/Bullet3OpenCL/premake4.lua
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/bullet/src/Bullet3OpenCL/premake4.lua')
-rw-r--r--thirdparty/bullet/src/Bullet3OpenCL/premake4.lua29
1 files changed, 29 insertions, 0 deletions
diff --git a/thirdparty/bullet/src/Bullet3OpenCL/premake4.lua b/thirdparty/bullet/src/Bullet3OpenCL/premake4.lua
new file mode 100644
index 0000000000..55a8613634
--- /dev/null
+++ b/thirdparty/bullet/src/Bullet3OpenCL/premake4.lua
@@ -0,0 +1,29 @@
+function createProject(vendor)
+ hasCL = findOpenCL(vendor)
+
+ if (hasCL) then
+
+ project ("Bullet3OpenCL_" .. vendor)
+
+ initOpenCL(vendor)
+
+ kind "StaticLib"
+
+
+ includedirs {
+ ".",".."
+ }
+
+ files {
+ "**.cpp",
+ "**.h"
+ }
+
+ end
+end
+
+createProject("clew")
+createProject("AMD")
+createProject("Intel")
+createProject("NVIDIA")
+createProject("Apple")