[DEV] update next lutin version
This commit is contained in:
parent
0d421fa961
commit
76812245fa
@ -10,23 +10,23 @@ def get_desc():
|
|||||||
|
|
||||||
|
|
||||||
def create(target):
|
def create(target):
|
||||||
myModule = module.Module(__file__, 'bullet-physics', 'LIBRARY')
|
my_module = module.Module(__file__, 'bullet-physics', 'LIBRARY')
|
||||||
|
|
||||||
myModule.add_module_depend(['linearmath'])
|
my_module.add_module_depend(['linearmath'])
|
||||||
#remove compilation warning (specific for external libs):
|
#remove compilation warning (specific for external libs):
|
||||||
myModule.remove_compile_warning()
|
my_module.remove_compile_warning()
|
||||||
|
|
||||||
myModule.compile_flags('c++', [
|
my_module.compile_flags('c++', [
|
||||||
'-Wno-write-strings',
|
'-Wno-write-strings',
|
||||||
'-DHAVE_CONFIG_H',
|
'-DHAVE_CONFIG_H',
|
||||||
'-O2'])
|
'-O2'])
|
||||||
|
|
||||||
myModule.add_export_path(tools.get_current_path(__file__)+"/bullet-physics/src/")
|
my_module.add_export_path(tools.get_current_path(__file__)+"/bullet-physics/src/")
|
||||||
myModule.add_export_path(tools.get_current_path(__file__))
|
my_module.add_export_path(tools.get_current_path(__file__))
|
||||||
myModule.add_path(tools.get_current_path(__file__)+"/bullet-physics/Extras/ConvexDecomposition")
|
my_module.add_path(tools.get_current_path(__file__)+"/bullet-physics/Extras/ConvexDecomposition")
|
||||||
|
|
||||||
# lib BulletCollision
|
# lib BulletCollision
|
||||||
myModule.add_src_file([
|
my_module.add_src_file([
|
||||||
'bullet-physics/src/BulletCollision/NarrowPhaseCollision/btRaycastCallback.cpp',
|
'bullet-physics/src/BulletCollision/NarrowPhaseCollision/btRaycastCallback.cpp',
|
||||||
'bullet-physics/src/BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.cpp',
|
'bullet-physics/src/BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.cpp',
|
||||||
'bullet-physics/src/BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.cpp',
|
'bullet-physics/src/BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.cpp',
|
||||||
@ -125,7 +125,7 @@ def create(target):
|
|||||||
|
|
||||||
|
|
||||||
# lib BulletDynamics
|
# lib BulletDynamics
|
||||||
myModule.add_src_file([
|
my_module.add_src_file([
|
||||||
'bullet-physics/src/BulletDynamics/Dynamics/btRigidBody.cpp',
|
'bullet-physics/src/BulletDynamics/Dynamics/btRigidBody.cpp',
|
||||||
'bullet-physics/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp',
|
'bullet-physics/src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp',
|
||||||
'bullet-physics/src/BulletDynamics/Dynamics/Bullet-C-API.cpp',
|
'bullet-physics/src/BulletDynamics/Dynamics/Bullet-C-API.cpp',
|
||||||
@ -149,7 +149,7 @@ def create(target):
|
|||||||
|
|
||||||
|
|
||||||
# lib BulletSoftBody
|
# lib BulletSoftBody
|
||||||
myModule.add_src_file([
|
my_module.add_src_file([
|
||||||
'bullet-physics/src/BulletSoftBody/btDefaultSoftBodySolver.cpp',
|
'bullet-physics/src/BulletSoftBody/btDefaultSoftBodySolver.cpp',
|
||||||
'bullet-physics/src/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.cpp',
|
'bullet-physics/src/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.cpp',
|
||||||
'bullet-physics/src/BulletSoftBody/btSoftBody.cpp',
|
'bullet-physics/src/BulletSoftBody/btSoftBody.cpp',
|
||||||
@ -160,12 +160,12 @@ def create(target):
|
|||||||
'bullet-physics/src/BulletSoftBody/btSoftSoftCollisionAlgorithm.cpp'])
|
'bullet-physics/src/BulletSoftBody/btSoftSoftCollisionAlgorithm.cpp'])
|
||||||
|
|
||||||
# lib gimpactutils
|
# lib gimpactutils
|
||||||
myModule.add_src_file([
|
my_module.add_src_file([
|
||||||
'bullet-physics/Extras/GIMPACTUtils/btGImpactConvexDecompositionShape.cpp'])
|
'bullet-physics/Extras/GIMPACTUtils/btGImpactConvexDecompositionShape.cpp'])
|
||||||
|
|
||||||
"""
|
"""
|
||||||
# lib convexdecomposition
|
# lib convexdecomposition
|
||||||
myModule.add_src_file([
|
my_module.add_src_file([
|
||||||
'bullet-physics/Extras/ConvexDecomposition/concavity.cpp',
|
'bullet-physics/Extras/ConvexDecomposition/concavity.cpp',
|
||||||
'bullet-physics/Extras/ConvexDecomposition/ConvexDecomposition.cpp',
|
'bullet-physics/Extras/ConvexDecomposition/ConvexDecomposition.cpp',
|
||||||
'bullet-physics/Extras/ConvexDecomposition/vlookup.cpp',
|
'bullet-physics/Extras/ConvexDecomposition/vlookup.cpp',
|
||||||
@ -184,12 +184,12 @@ def create(target):
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
# lib HACD
|
# lib HACD
|
||||||
myModule.add_src_file([
|
my_module.add_src_file([
|
||||||
'bullet-physics/Extras/HACD/hacdGraph.cpp',
|
'bullet-physics/Extras/HACD/hacdGraph.cpp',
|
||||||
'bullet-physics/Extras/HACD/hacdHACD.cpp',
|
'bullet-physics/Extras/HACD/hacdHACD.cpp',
|
||||||
'bullet-physics/Extras/HACD/hacdICHull.cpp',
|
'bullet-physics/Extras/HACD/hacdICHull.cpp',
|
||||||
'bullet-physics/Extras/HACD/hacdManifoldMesh.cpp'])
|
'bullet-physics/Extras/HACD/hacdManifoldMesh.cpp'])
|
||||||
"""
|
"""
|
||||||
return myModule
|
return my_module
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,11 +10,11 @@ def get_desc():
|
|||||||
|
|
||||||
|
|
||||||
def create(target):
|
def create(target):
|
||||||
myModule = module.Module(__file__, 'linearmath', 'LIBRARY')
|
my_module = module.Module(__file__, 'linearmath', 'LIBRARY')
|
||||||
#remove compilation warning (specific for external libs):
|
#remove compilation warning (specific for external libs):
|
||||||
myModule.remove_compile_warning()
|
my_module.remove_compile_warning()
|
||||||
|
|
||||||
myModule.add_src_file([
|
my_module.add_src_file([
|
||||||
'bullet-physics/src/LinearMath/btQuickprof.cpp',
|
'bullet-physics/src/LinearMath/btQuickprof.cpp',
|
||||||
'bullet-physics/src/LinearMath/btGeometryUtil.cpp',
|
'bullet-physics/src/LinearMath/btGeometryUtil.cpp',
|
||||||
'bullet-physics/src/LinearMath/btAlignedAllocator.cpp',
|
'bullet-physics/src/LinearMath/btAlignedAllocator.cpp',
|
||||||
@ -24,15 +24,15 @@ def create(target):
|
|||||||
'bullet-physics/src/LinearMath/btVector3.cpp',
|
'bullet-physics/src/LinearMath/btVector3.cpp',
|
||||||
'bullet-physics/src/LinearMath/btConvexHullComputer.cpp'])
|
'bullet-physics/src/LinearMath/btConvexHullComputer.cpp'])
|
||||||
|
|
||||||
myModule.compile_flags('c', [
|
my_module.compile_flags('c', [
|
||||||
'-Wno-write-strings',
|
'-Wno-write-strings',
|
||||||
'-DHAVE_CONFIG_H',
|
'-DHAVE_CONFIG_H',
|
||||||
'-O2'])
|
'-O2'])
|
||||||
|
|
||||||
myModule.add_export_path(tools.get_current_path(__file__)+"/bullet-physics/src/")
|
my_module.add_export_path(tools.get_current_path(__file__)+"/bullet-physics/src/")
|
||||||
|
|
||||||
# add the currrent module at the
|
# add the currrent module at the
|
||||||
return myModule
|
return my_module
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user