[DEV] update new lutin 0.8.0

This commit is contained in:
Edouard DUPIN 2015-10-14 21:21:03 +02:00
parent e8efb4cc1b
commit 2393c4da35
6 changed files with 207 additions and 51 deletions

View File

@ -2,13 +2,30 @@
import lutin.module as module import lutin.module as module
import lutin.tools as tools import lutin.tools as tools
def get_desc():
return "EGE : Ewol Game engine (based on bullet lib)"
def create(target): def get_type():
# module name is 'edn' and type binary. return "LIBRARY"
my_module = module.Module(__file__, 'ege', 'LIBRARY')
# add the file to compile: def get_desc():
return "Ewol Game engine (based on bullet lib)"
def get_licence():
return "APACHE-2"
def get_compagny_type():
return "com"
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())
my_module.add_src_file([ my_module.add_src_file([
'ege/debug.cpp', 'ege/debug.cpp',
'ege/AudioElement.cpp', 'ege/AudioElement.cpp',
@ -47,15 +64,49 @@ def create(target):
'ege/physicsShape/PhysicsSphere.cpp', 'ege/physicsShape/PhysicsSphere.cpp',
'ege/Ray.cpp', 'ege/Ray.cpp',
]) ])
my_module.copy_folder('data/ParticuleMesh.*','') my_module.copy_path('data/ParticuleMesh.*')
# name of the dependency
my_module.add_module_depend(['ewol', 'bullet-physics']) my_module.add_module_depend(['ewol', 'bullet-physics'])
my_module.compile_flags('c++', [ my_module.compile_flags('c++', [
'-Wno-write-strings', '-Wno-write-strings',
'-Wmissing-field-initializers', '-Wmissing-field-initializers',
'-Wall']) '-Wall'])
my_module.add_export_path(tools.get_current_path(__file__)) my_module.add_header_file([
# add the currrent module at the '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__))
return my_module return my_module

View File

@ -4,12 +4,33 @@ import lutin.tools as tools
import datetime import datetime
def get_type():
return "BINARY"
def get_sub_type():
return "SAMPLE"
def get_name():
return "ege-sample-CameraPosition"
def get_desc(): def get_desc():
return "ege sample : CameraPisition" return "ege sample : CameraPisition"
def create(target): def get_licence():
return "APACHE-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def create(target, module_name):
# module name is 'edn' and type binary. # module name is 'edn' and type binary.
my_module = module.Module(__file__, 'egeCameraPosition', 'PACKAGE') my_module = module.Module(__file__, module_name, get_type())
my_module.add_src_file([ my_module.add_src_file([
'appl/debug.cpp', 'appl/debug.cpp',
@ -21,18 +42,18 @@ def create(target):
my_module.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
my_module.copy_folder("data/*") my_module.copy_path("data/*")
# set the package properties : # set the package properties :
my_module.pkg_set("VERSION", "0.0.0") my_module.pkg_set("VERSION", "0.0.0")
my_module.pkg_set("VERSION_CODE", "0") my_module.pkg_set("VERSION_CODE", "0")
my_module.pkg_set("COMPAGNY_TYPE", "org") my_module.pkg_set("COMPAGNY_TYPE", get_compagny_type())
my_module.pkg_set("COMPAGNY_NAME", "ege") my_module.pkg_set("COMPAGNY_NAME", get_compagny_name())
my_module.pkg_set("MAINTAINER", ["noOne <no.one@noreplay.com>"]) my_module.pkg_set("MAINTAINER", get_maintainer())
my_module.pkg_set("SECTION", ["Game"]) my_module.pkg_set("SECTION", ["Game"])
my_module.pkg_set("PRIORITY", "optional") my_module.pkg_set("PRIORITY", "optional")
my_module.pkg_set("DESCRIPTION", "ege sample : MeshCreator") my_module.pkg_set("DESCRIPTION", get_desc())
my_module.pkg_set("NAME", "egeMeshCreator") my_module.pkg_set("NAME", get_name())
# add the currrent module at the # add the currrent module at the
return my_module return my_module

View File

@ -4,12 +4,33 @@ import lutin.tools as tools
import datetime import datetime
def get_type():
return "BINARY"
def get_sub_type():
return "SAMPLE"
def get_name():
return "ege-sample-collision"
def get_desc(): def get_desc():
return "ege sample : Collision" return "ege sample : Collision"
def create(target): def get_licence():
return "APACHE-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def create(target, module_name):
# module name is 'edn' and type binary. # module name is 'edn' and type binary.
my_module = module.Module(__file__, 'egeCollision', 'PACKAGE') my_module = module.Module(__file__, module_name, get_type())
my_module.add_src_file([ my_module.add_src_file([
'appl/debug.cpp', 'appl/debug.cpp',
@ -21,18 +42,18 @@ def create(target):
my_module.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
my_module.copy_folder("data/*") my_module.copy_path("data/*")
# set the package properties : # set the package properties :
my_module.pkg_set("VERSION", "0.0.0") my_module.pkg_set("VERSION", "0.0.0")
my_module.pkg_set("VERSION_CODE", "0") my_module.pkg_set("VERSION_CODE", "0")
my_module.pkg_set("COMPAGNY_TYPE", "org") my_module.pkg_set("COMPAGNY_TYPE", get_compagny_type())
my_module.pkg_set("COMPAGNY_NAME", "ege") my_module.pkg_set("COMPAGNY_NAME", get_compagny_name())
my_module.pkg_set("MAINTAINER", ["noOne <no.one@noreplay.com>"]) my_module.pkg_set("MAINTAINER", get_maintainer())
my_module.pkg_set("SECTION", ["Game"]) my_module.pkg_set("SECTION", ["Game"])
my_module.pkg_set("PRIORITY", "optional") my_module.pkg_set("PRIORITY", "optional")
my_module.pkg_set("DESCRIPTION", "ege sample : Collision") my_module.pkg_set("DESCRIPTION", get_desc())
my_module.pkg_set("NAME", "Collision") my_module.pkg_set("NAME", get_name())
# add the currrent module at the # add the currrent module at the
return my_module return my_module

View File

@ -4,12 +4,33 @@ import lutin.tools as tools
import datetime import datetime
def get_type():
return "BINARY"
def get_sub_type():
return "SAMPLE"
def get_name():
return "ege-sample-DoubleView"
def get_desc(): def get_desc():
return "ege sample : DoubleView" return "ege sample : DoubleView"
def create(target): def get_licence():
return "APACHE-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def create(target, module_name):
# module name is 'edn' and type binary. # module name is 'edn' and type binary.
my_module = module.Module(__file__, 'egeDoubleView', 'PACKAGE') my_module = module.Module(__file__, module_name, get_type())
my_module.add_src_file([ my_module.add_src_file([
'appl/debug.cpp', 'appl/debug.cpp',
@ -21,18 +42,18 @@ def create(target):
my_module.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
my_module.copy_folder("data/*") my_module.copy_path("data/*")
# set the package properties : # set the package properties :
my_module.pkg_set("VERSION", "0.0.0") my_module.pkg_set("VERSION", "0.0.0")
my_module.pkg_set("VERSION_CODE", "0") my_module.pkg_set("VERSION_CODE", "0")
my_module.pkg_set("COMPAGNY_TYPE", "org") my_module.pkg_set("COMPAGNY_TYPE", get_compagny_type())
my_module.pkg_set("COMPAGNY_NAME", "ege") my_module.pkg_set("COMPAGNY_NAME", get_compagny_name())
my_module.pkg_set("MAINTAINER", ["noOne <no.one@noreplay.com>"]) my_module.pkg_set("MAINTAINER", get_maintainer())
my_module.pkg_set("SECTION", ["Game"]) my_module.pkg_set("SECTION", ["Game"])
my_module.pkg_set("PRIORITY", "optional") my_module.pkg_set("PRIORITY", "optional")
my_module.pkg_set("DESCRIPTION", "ege sample : DoubleView") my_module.pkg_set("DESCRIPTION", get_desc())
my_module.pkg_set("NAME", "egeDoubleView") my_module.pkg_set("NAME", get_name())
# add the currrent module at the # add the currrent module at the
return my_module return my_module

View File

@ -4,12 +4,33 @@ import lutin.tools as tools
import datetime import datetime
def get_type():
return "BINARY"
def get_sub_type():
return "TOOLS"
def get_name():
return "ege-sample-MeshCreator"
def get_desc(): def get_desc():
return "ege sample : MeshCreator" return "ege sample : MeshCreator"
def create(target): def get_licence():
return "APACHE-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def create(target, module_name):
# module name is 'edn' and type binary. # module name is 'edn' and type binary.
my_module = module.Module(__file__, 'egeMeshCreator', 'PACKAGE') my_module = module.Module(__file__, module_name, get_type())
my_module.add_src_file([ my_module.add_src_file([
'appl/debug.cpp', 'appl/debug.cpp',
@ -21,18 +42,18 @@ def create(target):
my_module.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
my_module.copy_folder("data/*") my_module.copy_path("data/*")
# set the package properties : # set the package properties :
my_module.pkg_set("VERSION", "0.0.0") my_module.pkg_set("VERSION", "0.0.0")
my_module.pkg_set("VERSION_CODE", "0") my_module.pkg_set("VERSION_CODE", "0")
my_module.pkg_set("COMPAGNY_TYPE", "org") my_module.pkg_set("COMPAGNY_TYPE", get_compagny_type())
my_module.pkg_set("COMPAGNY_NAME", "ege") my_module.pkg_set("COMPAGNY_NAME", get_compagny_name())
my_module.pkg_set("MAINTAINER", ["noOne <no.one@noreplay.com>"]) my_module.pkg_set("MAINTAINER", get_maintainer())
my_module.pkg_set("SECTION", ["Game"]) my_module.pkg_set("SECTION", ["Game"])
my_module.pkg_set("PRIORITY", "optional") my_module.pkg_set("PRIORITY", "optional")
my_module.pkg_set("DESCRIPTION", "ege sample : MeshCreator") my_module.pkg_set("DESCRIPTION", get_desc())
my_module.pkg_set("NAME", "egeMeshCreator") my_module.pkg_set("NAME", get_name())
# add the currrent module at the # add the currrent module at the
return my_module return my_module

View File

@ -4,12 +4,33 @@ import lutin.tools as tools
import datetime import datetime
def get_type():
return "BINARY"
def get_sub_type():
return "TEST"
def get_name():
return "ege-test-ray"
def get_desc(): def get_desc():
return "ege sample : RayTest" return "ege sample : RayTest"
def create(target): def get_licence():
return "APACHE-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def create(target, module_name):
# module name is 'edn' and type binary. # module name is 'edn' and type binary.
my_module = module.Module(__file__, 'egeRayTest', 'PACKAGE') my_module = module.Module(__file__, module_name, get_type())
my_module.add_src_file([ my_module.add_src_file([
'appl/debug.cpp', 'appl/debug.cpp',
@ -21,18 +42,18 @@ def create(target):
my_module.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
my_module.copy_folder("data/*") my_module.copy_path("data/*")
# set the package properties : # set the package properties :
my_module.pkg_set("VERSION", "0.0.0") my_module.pkg_set("VERSION", "0.0.0")
my_module.pkg_set("VERSION_CODE", "0") my_module.pkg_set("VERSION_CODE", "0")
my_module.pkg_set("COMPAGNY_TYPE", "org") my_module.pkg_set("COMPAGNY_TYPE", get_compagny_type())
my_module.pkg_set("COMPAGNY_NAME", "ege") my_module.pkg_set("COMPAGNY_NAME", get_compagny_name())
my_module.pkg_set("MAINTAINER", ["noOne <no.one@noreplay.com>"]) my_module.pkg_set("MAINTAINER", get_maintainer())
my_module.pkg_set("SECTION", ["Game"]) my_module.pkg_set("SECTION", ["Development"])
my_module.pkg_set("PRIORITY", "optional") my_module.pkg_set("PRIORITY", "optional")
my_module.pkg_set("DESCRIPTION", "ege sample : Ray test") my_module.pkg_set("DESCRIPTION", get_desc())
my_module.pkg_set("NAME", "egeRayTest") my_module.pkg_set("NAME", get_name())
# add the currrent module at the # add the currrent module at the
return my_module return my_module