Files
bullet3/opencl/basic_initialize/premake4.lua
2013-03-11 22:03:27 +01:00

29 lines
393 B
Lua

function createProject(vendor)
hasCL = findOpenCL(vendor)
if (hasCL) then
project ("OpenCL_intialize_" .. vendor)
initOpenCL(vendor)
language "C++"
kind "ConsoleApp"
targetdir "../../bin"
files {
"main.cpp",
"btOpenCLUtils.cpp",
"btOpenCLUtils.h"
}
end
end
createProject("Apple")
createProject("AMD")
createProject("Intel")
createProject("NVIDIA")