mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-10-10 02:45:45 +00:00
28 lines
368 B
Lua
28 lines
368 B
Lua
function createProject(vendor)
|
|
hasCL = findOpenCL(vendor)
|
|
|
|
if (hasCL) then
|
|
|
|
project ("Bullet3OpenCL_" .. vendor)
|
|
|
|
initOpenCL(vendor)
|
|
|
|
kind "StaticLib"
|
|
|
|
targetdir "../../lib"
|
|
includedirs {
|
|
".",".."
|
|
}
|
|
|
|
files {
|
|
"**.cpp",
|
|
"**.h"
|
|
}
|
|
|
|
end
|
|
end
|
|
|
|
createProject("AMD")
|
|
createProject("Intel")
|
|
createProject("NVIDIA")
|
|
createProject("Apple") |