2013-03-11 21:03:27 +00:00
|
|
|
function createProject(vendor)
|
|
|
|
|
|
|
|
hasCL = findOpenCL(vendor)
|
|
|
|
|
|
|
|
if (hasCL) then
|
|
|
|
|
2013-04-30 02:04:08 +00:00
|
|
|
project ("Test_OpenCL_intialize_" .. vendor)
|
2013-03-11 21:03:27 +00:00
|
|
|
|
|
|
|
initOpenCL(vendor)
|
|
|
|
|
|
|
|
language "C++"
|
|
|
|
|
2013-04-30 02:04:08 +00:00
|
|
|
|
2013-03-11 21:03:27 +00:00
|
|
|
kind "ConsoleApp"
|
2015-07-11 05:20:06 +00:00
|
|
|
|
2013-03-11 21:03:27 +00:00
|
|
|
|
2013-04-30 02:04:08 +00:00
|
|
|
includedirs {"../../../src"}
|
|
|
|
|
2013-03-11 21:03:27 +00:00
|
|
|
files {
|
|
|
|
"main.cpp",
|
2013-04-30 02:04:08 +00:00
|
|
|
"../../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp",
|
2013-06-18 05:45:59 +00:00
|
|
|
"../../../src/Bullet3Common/b3AlignedAllocator.cpp",
|
2013-06-03 20:10:27 +00:00
|
|
|
"../../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.h",
|
|
|
|
"../../../src/Bullet3Common/b3Logging.cpp",
|
2013-03-11 21:03:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
2013-05-21 00:58:19 +00:00
|
|
|
createProject("clew")
|
2013-04-30 02:04:08 +00:00
|
|
|
createProject("Apple")
|
2013-03-11 21:03:27 +00:00
|
|
|
createProject("AMD")
|
|
|
|
createProject("Intel")
|
|
|
|
createProject("NVIDIA")
|