Files
bullet3/src/Bullet3OpenCL/premake4.lua
2018-02-09 18:46:26 -08:00

33 lines
447 B
Lua

function createProject(vendor)
hasCL = findOpenCL(vendor)
if (hasCL) then
project ("Bullet3OpenCL_" .. vendor)
initOpenCL(vendor)
kind "StaticLib"
if os.is("Linux") then
buildoptions{"-fPIC"}
end
includedirs {
".",".."
}
files {
"**.cpp",
"**.h"
}
end
end
createProject("clew")
createProject("AMD")
createProject("Intel")
createProject("NVIDIA")
createProject("Apple")