mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40: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)
47 lines
1.1 KiB
Lua
47 lines
1.1 KiB
Lua
|
|
project "Test_BulletCollision"
|
|
|
|
kind "ConsoleApp"
|
|
|
|
-- defines { }
|
|
|
|
|
|
|
|
includedirs
|
|
{
|
|
".",
|
|
"../../src",
|
|
"../gtest-1.7.0/include"
|
|
|
|
}
|
|
|
|
|
|
if os.is("Windows") then
|
|
--see http://stackoverflow.com/questions/12558327/google-test-in-visual-studio-2012
|
|
defines {"_VARIADIC_MAX=10"}
|
|
end
|
|
|
|
links {"LinearMath", "gtest"}
|
|
|
|
files {
|
|
"**.cpp",
|
|
"**.h",
|
|
"../../src/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.cpp",
|
|
"../../src/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.h",
|
|
|
|
-- the *Shape.* files are not strictly necessary if you provide your own 'support' function
|
|
"../../src/BulletCollision/CollisionShapes/btSphereShape.cpp",
|
|
"../../src/BulletCollision/CollisionShapes/btMultiSphereShape.cpp",
|
|
"../../src/BulletCollision/CollisionShapes/btPolyhedralConvexShape.cpp",
|
|
"../../src/BulletCollision/CollisionShapes/btConvexShape.cpp",
|
|
"../../src/BulletCollision/CollisionShapes/btConvexInternalShape.cpp",
|
|
"../../src/BulletCollision/CollisionShapes/btCollisionShape.cpp",
|
|
"../../src/BulletCollision/CollisionShapes/btConvexPolyhedron.cpp",
|
|
|
|
}
|
|
|
|
if os.is("Linux") then
|
|
links {"pthread"}
|
|
end
|
|
|