2014-11-02 20:53:36 +00:00
|
|
|
|
2015-05-12 16:17:27 +00:00
|
|
|
project "Test_BulletCollision"
|
2014-11-02 20:53:36 +00:00
|
|
|
|
|
|
|
kind "ConsoleApp"
|
|
|
|
|
|
|
|
-- defines { }
|
|
|
|
|
|
|
|
-- targetdir "../../bin"
|
|
|
|
|
|
|
|
includedirs
|
|
|
|
{
|
|
|
|
".",
|
|
|
|
"../../src",
|
|
|
|
"../gtest-1.7.0/include"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-04-16 17:17:35 +00:00
|
|
|
|
|
|
|
if os.is("Windows") then
|
|
|
|
--see http://stackoverflow.com/questions/12558327/google-test-in-visual-studio-2012
|
|
|
|
defines {"_VARIADIC_MAX=10"}
|
|
|
|
end
|
|
|
|
|
2014-11-02 20:53:36 +00:00
|
|
|
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",
|
|
|
|
|
|
|
|
}
|
2014-11-04 04:19:13 +00:00
|
|
|
|
|
|
|
if os.is("Linux") then
|
|
|
|
links {"pthread"}
|
|
|
|
end
|
|
|
|
|