fix Linux build of App_Bullet3_OpenCL_Demos. Unfortunately the simulation doesn't work properly, need to fix it (and add unit tests)
30 lines
391 B
Lua
30 lines
391 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("clew")
|
|
createProject("AMD")
|
|
createProject("Intel")
|
|
createProject("NVIDIA")
|
|
createProject("Apple")
|