mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-09 00:50:17 +00:00
29 lines
433 B
Lua
29 lines
433 B
Lua
|
function createProject(vendor)
|
||
|
|
||
|
hasCL = findOpenCL(vendor)
|
||
|
|
||
|
if (hasCL) then
|
||
|
|
||
|
project ("OpenCL_VectorAdd_" .. vendor)
|
||
|
|
||
|
initOpenCL(vendor)
|
||
|
|
||
|
language "C++"
|
||
|
|
||
|
kind "ConsoleApp"
|
||
|
targetdir "../../bin"
|
||
|
|
||
|
files {
|
||
|
"main.cpp",
|
||
|
"../basic_initialize/btOpenCLUtils.cpp",
|
||
|
"../basic_initialize/btOpenCLUtils.h"
|
||
|
}
|
||
|
|
||
|
end
|
||
|
end
|
||
|
|
||
|
createProject("AMD")
|
||
|
createProject("Intel")
|
||
|
createProject("NVIDIA")
|
||
|
createProject("Apple")
|