diff options
author | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
commit | 15740faf9fe9fe4be08965098bbf2947e096aeeb (patch) | |
tree | a730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Physics2D/Physics2DModule.jam |
Diffstat (limited to 'Runtime/Physics2D/Physics2DModule.jam')
-rw-r--r-- | Runtime/Physics2D/Physics2DModule.jam | 178 |
1 files changed, 178 insertions, 0 deletions
diff --git a/Runtime/Physics2D/Physics2DModule.jam b/Runtime/Physics2D/Physics2DModule.jam new file mode 100644 index 0000000..85ef5aa --- /dev/null +++ b/Runtime/Physics2D/Physics2DModule.jam @@ -0,0 +1,178 @@ +rule Physics2DModule_ReportCpp +{ + local physics2DSources = + + Physics2DModule.jam + + Collider2D.cpp + Collider2D.h + BoxCollider2D.cpp + BoxCollider2D.h + CircleCollider2D.cpp + CircleCollider2D.h + EdgeCollider2D.cpp + EdgeCollider2D.h + PolygonColliderBase2D.cpp + PolygonColliderBase2D.h + PolygonCollider2D.cpp + PolygonCollider2D.h + SpriteCollider2D.cpp + SpriteCollider2D.h + CollisionListener2D.cpp + CollisionListener2D.h + DistanceJoint2D.cpp + DistanceJoint2D.h + HingeJoint2D.cpp + HingeJoint2D.h + Joint2D.cpp + Joint2D.h + Physics2DManager.cpp + Physics2DManager.h + Physics2DMaterial.cpp + Physics2DMaterial.h + Physics2DModuleRegistration.cpp + Physics2DSettings.cpp + Physics2DSettings.h + Rigidbody2D.cpp + Rigidbody2D.h + JointDescriptions2D.h + SliderJoint2D.cpp + SliderJoint2D.h + SpringJoint2D.cpp + SpringJoint2D.h + ; + + local box2DSources = + + Box2D.h + Collision/b2BroadPhase.cpp + Collision/b2BroadPhase.h + Collision/b2CollideCircle.cpp + Collision/b2CollideEdge.cpp + Collision/b2CollidePolygon.cpp + Collision/b2Collision.cpp + Collision/b2Collision.h + Collision/b2Distance.cpp + Collision/b2Distance.h + Collision/b2DynamicTree.cpp + Collision/b2DynamicTree.h + Collision/b2TimeOfImpact.cpp + Collision/b2TimeOfImpact.h + + Collision/Shapes/b2ChainShape.cpp + Collision/Shapes/b2ChainShape.h + Collision/Shapes/b2CircleShape.cpp + Collision/Shapes/b2CircleShape.h + Collision/Shapes/b2EdgeShape.cpp + Collision/Shapes/b2EdgeShape.h + Collision/Shapes/b2PolygonShape.cpp + Collision/Shapes/b2PolygonShape.h + Collision/Shapes/b2Shape.h + + Common/b2BlockAllocator.cpp + Common/b2BlockAllocator.h + Common/b2Draw.cpp + Common/b2Draw.h + Common/b2GrowableStack.h + Common/b2Math.cpp + Common/b2Math.h + Common/b2Settings.cpp + Common/b2Settings.h + Common/b2StackAllocator.cpp + Common/b2StackAllocator.h + Common/b2Timer.cpp + Common/b2Timer.h + + Dynamics/b2Body.cpp + Dynamics/b2Body.h + Dynamics/b2ContactManager.cpp + Dynamics/b2ContactManager.h + Dynamics/b2Fixture.cpp + Dynamics/b2Fixture.h + Dynamics/b2Island.cpp + Dynamics/b2Island.h + Dynamics/b2TimeStep.h + Dynamics/b2World.cpp + Dynamics/b2World.h + Dynamics/b2WorldCallbacks.cpp + Dynamics/b2WorldCallbacks.h + + Dynamics/Contacts/b2ChainAndCircleContact.cpp + Dynamics/Contacts/b2ChainAndCircleContact.h + Dynamics/Contacts/b2ChainAndPolygonContact.cpp + Dynamics/Contacts/b2ChainAndPolygonContact.h + Dynamics/Contacts/b2CircleContact.cpp + Dynamics/Contacts/b2CircleContact.h + Dynamics/Contacts/b2Contact.cpp + Dynamics/Contacts/b2Contact.h + Dynamics/Contacts/b2ContactSolver.cpp + Dynamics/Contacts/b2ContactSolver.h + Dynamics/Contacts/b2EdgeAndCircleContact.cpp + Dynamics/Contacts/b2EdgeAndCircleContact.h + Dynamics/Contacts/b2EdgeAndPolygonContact.cpp + Dynamics/Contacts/b2EdgeAndPolygonContact.h + Dynamics/Contacts/b2PolygonAndCircleContact.cpp + Dynamics/Contacts/b2PolygonAndCircleContact.h + Dynamics/Contacts/b2PolygonContact.cpp + Dynamics/Contacts/b2PolygonContact.h + + Dynamics/Joints/b2DistanceJoint.cpp + Dynamics/Joints/b2DistanceJoint.h + Dynamics/Joints/b2FrictionJoint.cpp + Dynamics/Joints/b2FrictionJoint.h + Dynamics/Joints/b2GearJoint.cpp + Dynamics/Joints/b2GearJoint.h + Dynamics/Joints/b2Joint.cpp + Dynamics/Joints/b2Joint.h + Dynamics/Joints/b2MotorJoint.cpp + Dynamics/Joints/b2MotorJoint.h + Dynamics/Joints/b2MouseJoint.cpp + Dynamics/Joints/b2MouseJoint.h + Dynamics/Joints/b2PrismaticJoint.cpp + Dynamics/Joints/b2PrismaticJoint.h + Dynamics/Joints/b2PulleyJoint.cpp + Dynamics/Joints/b2PulleyJoint.h + Dynamics/Joints/b2RevoluteJoint.cpp + Dynamics/Joints/b2RevoluteJoint.h + Dynamics/Joints/b2RopeJoint.cpp + Dynamics/Joints/b2RopeJoint.h + Dynamics/Joints/b2WeldJoint.cpp + Dynamics/Joints/b2WeldJoint.h + Dynamics/Joints/b2WheelJoint.cpp + Dynamics/Joints/b2WheelJoint.h + + Rope/b2Rope.cpp + Rope/b2Rope.h + ; + + local modulesources = + Runtime/Physics2D/$(physics2DSources) + External/Box2D/Box2D/$(box2DSources) + ; + + return $(modulesources) ; +} + +rule Physics2DModule_ReportTxt +{ + return + Runtime/Physics2D/ScriptBindings/Physics2DBindings.txt + ; +} + +rule Physics2DModule_ReportIncludes +{ + return + External/Box2D + Projects/PrecompiledHeaders + ; +} + +rule Physics2DModule_Init +{ + OverrideModule Physics2D : GetModule_Cpp : byOverridingWithMethod : Physics2DModule_ReportCpp ; + OverrideModule Physics2D : GetModule_Txt : byOverridingWithMethod : Physics2DModule_ReportTxt ; + OverrideModule Physics2D : GetModule_Inc : byOverridingWithMethod : Physics2DModule_ReportIncludes ; +} + +#RegisterModule Physics2D ; |