mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
6c9ce344ea
remove targetdir from all libraries in premake, so it is much easier to create a separate folder for all binary+lib transmit the serialized btMultiBody data back from server to client, after the server loads a URDF file. This includes base+link+joint names tweak the serialization routines, so it is easier to skip pointers and to serialize directly to a shared memory buffer also tweak the serialization code to allow to process data without 'DNA' schema data (assuming file-DNA = memory DNA)
35 lines
687 B
Lua
35 lines
687 B
Lua
function createProject(vendor)
|
|
|
|
hasCL = findOpenCL(vendor)
|
|
|
|
if (hasCL) then
|
|
|
|
project ("Test_OpenCL_kernel_launch_" .. vendor)
|
|
|
|
initOpenCL(vendor)
|
|
|
|
language "C++"
|
|
|
|
|
|
kind "ConsoleApp"
|
|
|
|
|
|
includedirs {"../../../src"}
|
|
|
|
files {
|
|
"main.cpp",
|
|
"../../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp",
|
|
"../../../src/Bullet3Common/b3AlignedAllocator.cpp",
|
|
"../../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.h",
|
|
"../../../src/Bullet3Common/b3Logging.cpp",
|
|
"../../../src/Bullet3OpenCL/ParallelPrimitives/b3LauncherCL.cpp"
|
|
}
|
|
|
|
end
|
|
end
|
|
createProject("clew")
|
|
createProject("Apple")
|
|
createProject("AMD")
|
|
createProject("Intel")
|
|
createProject("NVIDIA")
|