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)
47 lines
1.4 KiB
Lua
47 lines
1.4 KiB
Lua
function createProject(vendor)
|
|
hasCL = findOpenCL(vendor)
|
|
|
|
if (hasCL) then
|
|
|
|
project ("Test_OpenCL_Primitives_" .. vendor)
|
|
|
|
initOpenCL(vendor)
|
|
|
|
language "C++"
|
|
|
|
kind "ConsoleApp"
|
|
|
|
includedirs {".","../../../src"}
|
|
|
|
|
|
files {
|
|
"main.cpp",
|
|
"../../../src/Bullet3OpenCL/Initialize/b3OpenCLInclude.h",
|
|
"../../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp",
|
|
"../../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.h",
|
|
"../../../src/Bullet3OpenCL/ParallelPrimitives/b3FillCL.cpp",
|
|
"../../../src/Bullet3OpenCL/ParallelPrimitives/b3FillCL.h",
|
|
"../../../src/Bullet3OpenCL/ParallelPrimitives/b3BoundSearchCL.cpp",
|
|
"../../../src/Bullet3OpenCL/ParallelPrimitives/b3BoundSearchCL.h",
|
|
"../../../src/Bullet3OpenCL/ParallelPrimitives/b3PrefixScanCL.cpp",
|
|
"../../../src/Bullet3OpenCL/ParallelPrimitives/b3PrefixScanCL.h",
|
|
"../../../src/Bullet3OpenCL/ParallelPrimitives/b3RadixSort32CL.cpp",
|
|
"../../../src/Bullet3OpenCL/ParallelPrimitives/b3RadixSort32CL.h",
|
|
"../../../src/Bullet3OpenCL/ParallelPrimitives/b3LauncherCL.cpp",
|
|
"../../../src/Bullet3Common/b3AlignedAllocator.cpp",
|
|
"../../../src/Bullet3Common/b3AlignedAllocator.h",
|
|
"../../../src/Bullet3Common/b3AlignedObjectArray.h",
|
|
"../../../src/Bullet3Common/b3Logging.cpp",
|
|
"../../../src/Bullet3Common/b3Logging.h",
|
|
|
|
}
|
|
|
|
end
|
|
end
|
|
|
|
createProject("clew")
|
|
createProject("AMD")
|
|
createProject("Intel")
|
|
createProject("NVIDIA")
|
|
createProject("Apple")
|