mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-09 09:00:08 +00:00
32 lines
514 B
Lua
32 lines
514 B
Lua
function createProject(vendor)
|
|
|
|
hasCL = findOpenCL(vendor)
|
|
|
|
if (hasCL) then
|
|
|
|
project ("Test_OpenCL_intialize_" .. vendor)
|
|
|
|
initOpenCL(vendor)
|
|
|
|
language "C++"
|
|
|
|
|
|
kind "ConsoleApp"
|
|
targetdir "../../../bin"
|
|
|
|
includedirs {"../../../src"}
|
|
|
|
files {
|
|
"main.cpp",
|
|
"../../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp",
|
|
"../../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.h"
|
|
}
|
|
|
|
end
|
|
end
|
|
|
|
createProject("Apple")
|
|
createProject("AMD")
|
|
createProject("Intel")
|
|
createProject("NVIDIA")
|