2013-08-13 09:17:09 +02:00
|
|
|
#!/usr/bin/python
|
2013-12-23 22:38:46 +01:00
|
|
|
import lutinModule as module
|
|
|
|
import lutinTools as tools
|
2013-08-13 09:17:09 +02:00
|
|
|
|
2013-12-23 22:38:46 +01:00
|
|
|
def get_desc():
|
|
|
|
return "EGE : Ewol Game engine (based on bullet lib)"
|
|
|
|
|
|
|
|
|
|
|
|
def create(target):
|
2013-08-13 09:17:09 +02:00
|
|
|
# module name is 'edn' and type binary.
|
2013-12-23 22:38:46 +01:00
|
|
|
myModule = module.Module(__file__, 'ege', 'LIBRARY')
|
2013-08-13 09:17:09 +02:00
|
|
|
|
|
|
|
# add the file to compile:
|
2013-12-23 22:38:46 +01:00
|
|
|
myModule.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',
|
2013-08-13 21:23:11 +02:00
|
|
|
'ege/ElementGame.cpp',
|
|
|
|
'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',
|
|
|
|
'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',
|
2013-08-13 09:17:09 +02:00
|
|
|
])
|
|
|
|
|
2013-12-23 22:38:46 +01:00
|
|
|
myModule.copy_folder('data/ParticuleMesh.*','')
|
2013-09-15 22:46:53 +02:00
|
|
|
|
2013-08-13 09:17:09 +02:00
|
|
|
# name of the dependency
|
2013-12-23 22:38:46 +01:00
|
|
|
myModule.add_module_depend(['ewol', 'bullet'])
|
2013-08-13 09:17:09 +02:00
|
|
|
|
2013-12-23 22:38:46 +01:00
|
|
|
myModule.compile_flags_CC([
|
2013-08-13 09:17:09 +02:00
|
|
|
'-Wno-write-strings',
|
|
|
|
'-Wall'])
|
|
|
|
|
2013-12-23 22:38:46 +01:00
|
|
|
myModule.add_export_path(tools.get_current_path(__file__))
|
2013-08-13 09:17:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
# add the currrent module at the
|
|
|
|
return myModule
|
|
|
|
|
|
|
|
|