Files
bullet3/opencl/lds_bank_conflict/premake4.lua
erwin coumans 626f0cf1e3 bt->b3
2013-04-17 17:52:51 -07:00

45 lines
830 B
Lua

function createProject (vendor)
local hasCL = findOpenCL(vendor)
if (hasCL) then
project ( "OpenCL_lds_bank_conflict_" .. vendor)
initOpenCL(vendor)
language "C++"
kind "ConsoleApp"
targetdir "../../bin"
links {
"OpenCL_lib_parallel_primitives_host_" .. vendor
}
includedirs {
"../basic_initialize",
"../../src"
}
files {
"main.cpp",
"../basic_initialize/b3OpenCLUtils.cpp",
"../basic_initialize/b3OpenCLUtils.h",
"../../src/Bullet3Common/b3AlignedAllocator.cpp",
"../../src/Bullet3Common/b3AlignedAllocator.h",
"../../src/Bullet3Common/b3AlignedObjectArray.h",
"../../src/Bullet3Common/b3Quickprof.cpp",
"../../src/Bullet3Common/b3Quickprof.h",
}
end
end
createProject("AMD")
createProject("NVIDIA")
createProject("Intel")
createProject("Apple")