bullet3/test/collision/premake4.lua

47 lines
1.1 KiB
Lua
Raw Normal View History

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",
}
2014-11-04 04:19:13 +00:00
if os.is("Linux") then
links {"pthread"}
end