mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 06:00:12 +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)
34 lines
615 B
Lua
34 lines
615 B
Lua
function createProject(vendor)
|
|
|
|
hasCL = findOpenCL(vendor)
|
|
|
|
if (hasCL) then
|
|
|
|
project ("Test_OpenCL_intialize_" .. 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",
|
|
}
|
|
|
|
end
|
|
end
|
|
createProject("clew")
|
|
createProject("Apple")
|
|
createProject("AMD")
|
|
createProject("Intel")
|
|
createProject("NVIDIA")
|