2013-08-13 09:17:09 +02:00
|
|
|
#!/usr/bin/python
|
2015-05-08 22:37:06 +02:00
|
|
|
import lutin.module as module
|
|
|
|
import lutin.tools as tools
|
2013-08-13 09:17:09 +02:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
|
|
|
|
def get_type():
|
|
|
|
return "LIBRARY"
|
|
|
|
|
2013-12-23 22:38:46 +01:00
|
|
|
def get_desc():
|
2015-10-14 21:21:03 +02:00
|
|
|
return "Ewol Game engine (based on bullet lib)"
|
|
|
|
|
|
|
|
def get_licence():
|
|
|
|
return "APACHE-2"
|
|
|
|
|
|
|
|
def get_compagny_type():
|
|
|
|
return "com"
|
2013-12-23 22:38:46 +01:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
def get_compagny_name():
|
|
|
|
return "atria-soft"
|
|
|
|
|
|
|
|
def get_maintainer():
|
|
|
|
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
|
|
|
|
|
|
|
def get_version():
|
|
|
|
return [0,0,0]
|
|
|
|
|
|
|
|
def create(target, module_name):
|
|
|
|
my_module = module.Module(__file__, module_name, get_type())
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_src_file([
|
2013-08-13 22:10:31 +02:00
|
|
|
'ege/debug.cpp',
|
2013-08-13 21:23:11 +02:00
|
|
|
'ege/AudioElement.cpp',
|
|
|
|
'ege/AudioEngine.cpp',
|
2014-11-07 23:20:22 +01:00
|
|
|
'ege/camera/Camera.cpp',
|
|
|
|
'ege/camera/View.cpp',
|
|
|
|
'ege/camera/FPS.cpp',
|
2013-08-21 21:24:30 +02:00
|
|
|
'ege/CollisionShapeCreator.cpp',
|
2014-11-10 21:32:42 +01:00
|
|
|
'ege/physics/Engine.cpp',
|
|
|
|
'ege/elements/Element.cpp',
|
|
|
|
'ege/elements/ElementBase.cpp',
|
|
|
|
'ege/elements/ElementPhysic.cpp',
|
2013-08-13 21:23:11 +02:00
|
|
|
'ege/Particule.cpp',
|
|
|
|
'ege/ParticuleEngine.cpp',
|
2013-09-12 21:43:18 +02:00
|
|
|
'ege/ParticuleSimple.cpp',
|
2013-12-13 21:23:32 +01:00
|
|
|
'ege/widget/Mesh.cpp',
|
|
|
|
'ege/widget/Scene.cpp',
|
2013-09-15 22:46:53 +02:00
|
|
|
'ege/Environement.cpp',
|
2013-12-13 21:23:32 +01:00
|
|
|
'ege/resource/Mesh.cpp',
|
2014-11-12 21:13:44 +01:00
|
|
|
'ege/resource/MeshEmf.cpp',
|
|
|
|
'ege/resource/MeshGird.cpp',
|
2014-11-12 22:49:17 +01:00
|
|
|
'ege/resource/MeshCube.cpp',
|
2014-11-12 21:13:44 +01:00
|
|
|
'ege/resource/MeshObj.cpp',
|
2013-12-13 21:23:32 +01:00
|
|
|
'ege/resource/ParticuleMesh.cpp',
|
2014-09-30 22:09:21 +02:00
|
|
|
'ege/resource/tools/icoSphere.cpp',
|
|
|
|
'ege/resource/tools/isoSphere.cpp',
|
|
|
|
'ege/resource/tools/viewBox.cpp',
|
2013-12-13 21:23:32 +01:00
|
|
|
'ege/Light.cpp',
|
|
|
|
'ege/Material.cpp',
|
|
|
|
'ege/physicsShape/PhysicsShape.cpp',
|
|
|
|
'ege/physicsShape/PhysicsBox.cpp',
|
|
|
|
'ege/physicsShape/PhysicsCapsule.cpp',
|
|
|
|
'ege/physicsShape/PhysicsCone.cpp',
|
|
|
|
'ege/physicsShape/PhysicsConvexHull.cpp',
|
|
|
|
'ege/physicsShape/PhysicsCylinder.cpp',
|
|
|
|
'ege/physicsShape/PhysicsSphere.cpp',
|
2014-11-11 23:09:41 +01:00
|
|
|
'ege/Ray.cpp',
|
2013-08-13 09:17:09 +02:00
|
|
|
])
|
2015-10-14 21:21:03 +02:00
|
|
|
my_module.copy_path('data/ParticuleMesh.*')
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_module_depend(['ewol', 'bullet-physics'])
|
|
|
|
my_module.compile_flags('c++', [
|
2013-08-13 09:17:09 +02:00
|
|
|
'-Wno-write-strings',
|
2014-11-13 21:11:53 +01:00
|
|
|
'-Wmissing-field-initializers',
|
2013-08-13 09:17:09 +02:00
|
|
|
'-Wall'])
|
2015-10-14 21:21:03 +02:00
|
|
|
my_module.add_header_file([
|
|
|
|
'ege/debug.h',
|
|
|
|
'ege/AudioElement.h',
|
|
|
|
'ege/AudioEngine.h',
|
|
|
|
'ege/camera/Camera.h',
|
|
|
|
'ege/camera/View.h',
|
|
|
|
'ege/camera/FPS.h',
|
|
|
|
'ege/CollisionShapeCreator.h',
|
|
|
|
'ege/physics/Engine.h',
|
|
|
|
'ege/elements/Element.h',
|
|
|
|
'ege/elements/ElementBase.h',
|
|
|
|
'ege/elements/ElementPhysic.h',
|
|
|
|
'ege/Particule.h',
|
|
|
|
'ege/ParticuleEngine.h',
|
|
|
|
'ege/ParticuleSimple.h',
|
|
|
|
'ege/widget/Mesh.h',
|
|
|
|
'ege/widget/Scene.h',
|
|
|
|
'ege/Environement.h',
|
|
|
|
'ege/resource/Mesh.h',
|
|
|
|
'ege/resource/ParticuleMesh.h',
|
|
|
|
'ege/resource/tools/icoSphere.h',
|
|
|
|
'ege/resource/tools/isoSphere.h',
|
|
|
|
'ege/resource/tools/viewBox.h',
|
|
|
|
'ege/resource/tools/Face.h',
|
|
|
|
'ege/resource/tools/FaceIndexing.h',
|
|
|
|
'ege/Light.h',
|
|
|
|
'ege/Material.h',
|
|
|
|
'ege/physicsShape/PhysicsShape.h',
|
|
|
|
'ege/physicsShape/PhysicsBox.h',
|
|
|
|
'ege/physicsShape/PhysicsCapsule.h',
|
|
|
|
'ege/physicsShape/PhysicsCone.h',
|
|
|
|
'ege/physicsShape/PhysicsConvexHull.h',
|
|
|
|
'ege/physicsShape/PhysicsCylinder.h',
|
|
|
|
'ege/physicsShape/PhysicsSphere.h',
|
|
|
|
'ege/Ray.h',
|
|
|
|
])
|
|
|
|
my_module.add_path(tools.get_current_path(__file__))
|
2015-09-24 21:44:04 +02:00
|
|
|
return my_module
|
2013-08-13 09:17:09 +02:00
|
|
|
|
|
|
|
|